31a02f67caeff9203507cf1e1638812a59fe5db5
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "name": "e-mobility-charging-stations-simulator",
3 "version": "1.2.13",
4 "engines": {
5 "node": ">=16.9.0",
6 "pnpm": ">=8.0.0"
7 },
8 "volta": {
9 "node": "20.2.0",
10 "pnpm": "8.5.1"
11 },
12 "repository": {
13 "type": "git",
14 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
15 },
16 "description": "Electric vehicle charging stations simulator",
17 "author": "SAP E-Mobility <e-mobility@sap.com>",
18 "contributors": [
19 {
20 "name": "Jérôme Benoit",
21 "email": "jerome.benoit@piment-noir.org",
22 "url": "https://github.com/jerome-benoit"
23 }
24 ],
25 "license": "Apache-2.0",
26 "licenses": [
27 {
28 "type": "Apache-2.0",
29 "url": "http://www.apache.org/licenses/LICENSE-2.0"
30 }
31 ],
32 "type": "module",
33 "exports": [
34 "./dist/start.js"
35 ],
36 "auto-changelog": {
37 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
38 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
39 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
40 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
41 },
42 "mikro-orm": {
43 "tsConfigPath": "./tsconfig-orm.json",
44 "useTsNode": true
45 },
46 "scripts": {
47 "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
48 "prepare": "node prepare.cjs",
49 "build-requirements": "node --no-warnings build-requirements.mjs",
50 "start": "pnpm build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
51 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
52 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
53 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
54 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
55 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
56 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
57 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
58 "rollup": "pnpm build-requirements && rollup --config",
59 "build": "pnpm rollup",
60 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
61 "build:dev": "pnpm rollup --environment BUILD:development",
62 "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development",
63 "build:dev:watch": "pnpm rollup --environment BUILD:development --watch",
64 "clean:dist": "npx rimraf dist",
65 "clean:node_modules": "npx rimraf node_modules",
66 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src",
67 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src",
68 "format": "prettier --cache --write .",
69 "test": "c8 mocha test/**/*Test.ts",
70 "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts",
71 "coverage": "c8 report --reporter=lcov",
72 "coverage:html": "c8 report --reporter=html",
73 "clinic:clean": "clinic clean",
74 "robohydra": "robohydra test/robohydra/config.json",
75 "git:sinit": "git submodule update --init --recursive --force",
76 "git:sdiff": "git diff && git submodule foreach 'git diff'",
77 "git:supdate": "git submodule update --remote --recursive --merge",
78 "git:spush": "git push --recurse-submodules=on-demand",
79 "release": "release-it"
80 },
81 "pnpm": {
82 "overrides": {
83 "cacheable-request": "^10.2.10",
84 "d3-color": "^3.1.0",
85 "ejs": "^3.1.9",
86 "got": "^12.6.0"
87 }
88 },
89 "dependencies": {
90 "@mikro-orm/core": "^5.7.10",
91 "@mikro-orm/mariadb": "^5.7.10",
92 "@mikro-orm/reflection": "^5.7.10",
93 "@mikro-orm/sqlite": "^5.7.10",
94 "ajv": "^8.12.0",
95 "ajv-formats": "^2.1.1",
96 "basic-ftp": "^5.0.3",
97 "chalk": "^5.2.0",
98 "http-status-codes": "^2.2.0",
99 "just-clone": "^6.2.0",
100 "just-merge": "^3.2.0",
101 "logform": "^2.5.1",
102 "mnemonist": "^0.39.5",
103 "moment": "^2.29.4",
104 "mongodb": "^5.5.0",
105 "poolifier": "^2.4.14",
106 "source-map-support": "^0.5.21",
107 "tar": "^6.1.15",
108 "tslib": "^2.5.2",
109 "winston": "^3.9.0",
110 "winston-daily-rotate-file": "^4.7.1",
111 "ws": "^8.13.0"
112 },
113 "optionalDependencies": {
114 "bufferutil": "^4.0.7",
115 "utf-8-validate": "^6.0.3"
116 },
117 "devDependencies": {
118 "@commitlint/cli": "^17.6.3",
119 "@commitlint/config-conventional": "^17.6.3",
120 "@mikro-orm/cli": "^5.7.10",
121 "@release-it/bumper": "^4.0.2",
122 "@rollup/plugin-json": "^6.0.0",
123 "@rollup/plugin-terser": "^0.4.3",
124 "@rollup/plugin-typescript": "^11.1.1",
125 "@types/mocha": "^10.0.1",
126 "@types/mochawesome": "^6.2.1",
127 "@types/node": "^20.2.4",
128 "@types/sinon": "^10.0.15",
129 "@types/tar": "^6.1.5",
130 "@types/ws": "^8.5.4",
131 "@typescript-eslint/eslint-plugin": "^5.59.7",
132 "@typescript-eslint/parser": "^5.59.7",
133 "auto-changelog": "^2.4.0",
134 "c8": "^7.13.0",
135 "clinic": "^12.1.0",
136 "cross-env": "^7.0.3",
137 "eslint": "^8.41.0",
138 "eslint-config-prettier": "^8.8.0",
139 "eslint-import-resolver-typescript": "^3.5.5",
140 "eslint-plugin-import": "^2.27.5",
141 "eslint-plugin-jsdoc": "^44.2.7",
142 "eslint-plugin-n": "^16.0.0",
143 "eslint-plugin-prettier": "^4.2.1",
144 "eslint-plugin-tsdoc": "^0.2.17",
145 "expect": "^29.5.0",
146 "husky": "^8.0.3",
147 "lint-staged": "^13.2.2",
148 "mocha": "^10.2.0",
149 "mochawesome": "^7.1.3",
150 "prettier": "^2.8.8",
151 "release-it": "^15.10.3",
152 "rimraf": "^5.0.1",
153 "robohydra": "^0.6.9",
154 "rollup": "^3.23.0",
155 "rollup-plugin-analyzer": "^4.0.0",
156 "rollup-plugin-copy": "^3.4.0",
157 "rollup-plugin-delete": "^2.0.0",
158 "semver": "^7.5.1",
159 "sinon": "^15.1.0",
160 "ts-node": "^10.9.1",
161 "typescript": "^5.0.4"
162 }
163 }