Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
7f774a55 | 2 | "name": "e-mobility-charging-stations-simulator", |
aa49f5ec | 3 | "version": "1.2.11", |
7dde0b73 | 4 | "engines": { |
d509fd24 | 5 | "node": ">=16.9.0", |
12f26d4a | 6 | "pnpm": ">=8.0.0" |
7dde0b73 | 7 | }, |
8f074ebf | 8 | "volta": { |
08049dfd | 9 | "node": "20.1.0", |
86b9cc07 | 10 | "pnpm": "8.4.0" |
8f074ebf | 11 | }, |
7dde0b73 JB |
12 | "repository": { |
13 | "type": "git", | |
7f774a55 | 14 | "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" |
7dde0b73 | 15 | }, |
e6159ce8 | 16 | "description": "Electric vehicle charging stations simulator", |
68250247 | 17 | "author": "SAP E-Mobility <e-mobility@sap.com>", |
4160581a JB |
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 | ], | |
7dde0b73 JB |
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 | ], | |
92ce5473 | 32 | "type": "module", |
db9b23ee | 33 | "exports": [ |
db9b23ee JB |
34 | "./dist/start.mjs" |
35 | ], | |
d22589b3 | 36 | "auto-changelog": { |
7f774a55 JB |
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}" | |
d22589b3 | 41 | }, |
ae8ee665 | 42 | "mikro-orm": { |
85c8a4cf | 43 | "tsConfigPath": "./tsconfig-orm.json", |
ae8ee665 JB |
44 | "useTsNode": true |
45 | }, | |
7dde0b73 | 46 | "scripts": { |
a90bec52 | 47 | "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm", |
92ce5473 | 48 | "prepare": "node prepare.cjs", |
653b69b4 | 49 | "build-requirements": "node --no-warnings build-requirements.mjs", |
c7f157db JB |
50 | "start": "pnpm build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.mjs", |
51 | "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs", | |
52 | "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.mjs", | |
653b69b4 | 53 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.mjs", |
abe9e9dd JB |
54 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.mjs", |
55 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.mjs", | |
56 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.mjs", | |
57 | "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.mjs", | |
c7f157db JB |
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:watch": "pnpm rollup -- --environment BUILD:development --watch", | |
e592ba1d JB |
63 | "clean:dist": "npx rimraf dist", |
64 | "clean:node_modules": "npx rimraf node_modules", | |
92ce5473 JB |
65 | "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src", |
66 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src", | |
e60a5ba3 | 67 | "format": "prettier --cache --write .", |
12240a2e | 68 | "test": "c8 mocha test/**/*Test.ts", |
3e985d18 | 69 | "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts", |
12240a2e JB |
70 | "coverage": "c8 report --reporter=lcov", |
71 | "coverage:html": "c8 report --reporter=html", | |
7dde0b73 | 72 | "clinic:clean": "clinic clean", |
47e22477 | 73 | "robohydra": "robohydra test/robohydra/config.json", |
5c97c3b3 | 74 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 75 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 76 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 77 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 78 | "release": "release-it" |
7dde0b73 | 79 | }, |
db64a53b JB |
80 | "overrides": { |
81 | "cacheable-request": "^10.2.7", | |
82 | "d3-color": "^3.1.0" | |
83 | }, | |
7dde0b73 | 84 | "dependencies": { |
86b9cc07 JB |
85 | "@mikro-orm/core": "^5.7.4", |
86 | "@mikro-orm/mariadb": "^5.7.4", | |
87 | "@mikro-orm/reflection": "^5.7.4", | |
88 | "@mikro-orm/sqlite": "^5.7.4", | |
bbe10d5f | 89 | "ajv": "^8.12.0", |
e3018bc4 | 90 | "ajv-formats": "^2.1.1", |
08049dfd | 91 | "basic-ftp": "^5.0.3", |
653b69b4 | 92 | "chalk": "^5.2.0", |
1f7fa4de | 93 | "http-status-codes": "^2.2.0", |
088ee3c1 JB |
94 | "just-clone": "^6.2.0", |
95 | "just-merge": "^3.2.0", | |
5a2a53cf | 96 | "logform": "^2.5.1", |
4a5a7863 | 97 | "mnemonist": "^0.39.5", |
5b7a0892 | 98 | "moment": "^2.29.4", |
08049dfd | 99 | "mongodb": "^5.4.0", |
67e7be88 | 100 | "poolifier": "^2.4.12", |
1dc29974 | 101 | "source-map-support": "^0.5.21", |
e0b511d9 | 102 | "tar": "^6.1.14", |
6a6acd38 | 103 | "tslib": "^2.5.0", |
d273692c | 104 | "winston": "^3.8.2", |
2820900f | 105 | "winston-daily-rotate-file": "^4.7.1", |
ab9c8862 | 106 | "ws": "^8.13.0" |
7dde0b73 | 107 | }, |
3d337bdb | 108 | "optionalDependencies": { |
ef85c95a | 109 | "bufferutil": "^4.0.7", |
d994fe7c | 110 | "utf-8-validate": "^6.0.3" |
3d337bdb | 111 | }, |
7dde0b73 | 112 | "devDependencies": { |
08049dfd JB |
113 | "@commitlint/cli": "^17.6.3", |
114 | "@commitlint/config-conventional": "^17.6.3", | |
86b9cc07 | 115 | "@mikro-orm/cli": "^5.7.4", |
d4c84337 | 116 | "@release-it/bumper": "^4.0.2", |
b78290ea | 117 | "@rollup/plugin-json": "^6.0.0", |
825c7c42 | 118 | "@rollup/plugin-terser": "^0.4.1", |
ab8e7b97 | 119 | "@rollup/plugin-typescript": "^11.1.0", |
f704ec19 | 120 | "@types/mocha": "^10.0.1", |
47e22477 | 121 | "@types/mochawesome": "^6.2.1", |
1ccdd6b7 | 122 | "@types/node": "^20.1.0", |
89bf789a | 123 | "@types/sinon": "^10.0.14", |
08683829 | 124 | "@types/tar": "^6.1.4", |
1cc4b9e0 | 125 | "@types/ws": "^8.5.4", |
bd0854cd JB |
126 | "@typescript-eslint/eslint-plugin": "^5.59.2", |
127 | "@typescript-eslint/parser": "^5.59.2", | |
6e19d740 | 128 | "auto-changelog": "^2.4.0", |
08683829 | 129 | "c8": "^7.13.0", |
5a9d7452 | 130 | "clinic": "^12.1.0", |
93b6750e | 131 | "cross-env": "^7.0.3", |
08049dfd | 132 | "eslint": "^8.40.0", |
62340a29 | 133 | "eslint-config-prettier": "^8.8.0", |
e88cc460 | 134 | "eslint-import-resolver-typescript": "^3.5.5", |
6db3502d | 135 | "eslint-plugin-import": "^2.27.5", |
08049dfd | 136 | "eslint-plugin-jsdoc": "^43.2.0", |
11e56c59 | 137 | "eslint-plugin-n": "^15.7.0", |
71828518 | 138 | "eslint-plugin-prettier": "^4.2.1", |
0e4fa348 | 139 | "eslint-plugin-tsdoc": "^0.2.17", |
61aad68d | 140 | "expect": "^29.5.0", |
bbe10d5f | 141 | "husky": "^8.0.3", |
aa8ac1ba | 142 | "lint-staged": "^13.2.2", |
d439da5c | 143 | "mocha": "^10.2.0", |
39dca63f | 144 | "mochawesome": "^7.1.3", |
3742487d | 145 | "prettier": "^2.8.8", |
86b9cc07 | 146 | "release-it": "^15.10.3", |
75f84cb1 | 147 | "rimraf": "^5.0.0", |
47e22477 | 148 | "robohydra": "^0.6.9", |
08049dfd | 149 | "rollup": "^3.21.5", |
cb1948a3 | 150 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 151 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 152 | "rollup-plugin-delete": "^2.0.0", |
b26c6593 | 153 | "semver": "^7.5.0", |
6a739b35 | 154 | "sinon": "^15.0.4", |
9090050f | 155 | "ts-node": "^10.9.1", |
1ec93f5c | 156 | "typescript": "^5.0.4" |
7dde0b73 JB |
157 | } |
158 | } |