Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
7f774a55 | 2 | "name": "e-mobility-charging-stations-simulator", |
e2a96acb | 3 | "version": "1.2.14", |
7dde0b73 | 4 | "engines": { |
d509fd24 | 5 | "node": ">=16.9.0", |
5f0a7b0d | 6 | "pnpm": ">=8.6.0" |
7dde0b73 | 7 | }, |
8f074ebf | 8 | "volta": { |
7e2a2062 | 9 | "node": "20.2.0", |
5f0a7b0d | 10 | "pnpm": "8.6.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": [ |
51022aa0 | 34 | "./dist/start.js" |
db9b23ee | 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", |
51022aa0 JB |
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", | |
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", | |
51022aa0 JB |
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", | |
e592ba1d JB |
64 | "clean:dist": "npx rimraf dist", |
65 | "clean:node_modules": "npx rimraf node_modules", | |
92ce5473 JB |
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", | |
e60a5ba3 | 68 | "format": "prettier --cache --write .", |
d4ad9d45 JB |
69 | "test": "c8 mocha test/**/*.test.ts", |
70 | "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts", | |
12240a2e JB |
71 | "coverage": "c8 report --reporter=lcov", |
72 | "coverage:html": "c8 report --reporter=html", | |
7dde0b73 | 73 | "clinic:clean": "clinic clean", |
47e22477 | 74 | "robohydra": "robohydra test/robohydra/config.json", |
5c97c3b3 | 75 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 76 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 77 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 78 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 79 | "release": "release-it" |
7dde0b73 | 80 | }, |
a4e5c2e2 JB |
81 | "pnpm": { |
82 | "overrides": { | |
64378b5e | 83 | "cacheable-request": "^10.2.10", |
a4e5c2e2 | 84 | "d3-color": "^3.1.0", |
64378b5e | 85 | "ejs": "^3.1.9", |
8c4e450b | 86 | "got": "^12.6.0" |
a4e5c2e2 | 87 | } |
db64a53b | 88 | }, |
7dde0b73 | 89 | "dependencies": { |
2c7eda64 JB |
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", | |
bbe10d5f | 94 | "ajv": "^8.12.0", |
e3018bc4 | 95 | "ajv-formats": "^2.1.1", |
08049dfd | 96 | "basic-ftp": "^5.0.3", |
653b69b4 | 97 | "chalk": "^5.2.0", |
1f7fa4de | 98 | "http-status-codes": "^2.2.0", |
088ee3c1 JB |
99 | "just-clone": "^6.2.0", |
100 | "just-merge": "^3.2.0", | |
5a2a53cf | 101 | "logform": "^2.5.1", |
4a5a7863 | 102 | "mnemonist": "^0.39.5", |
5b7a0892 | 103 | "moment": "^2.29.4", |
3e8ec690 | 104 | "mongodb": "^5.5.0", |
5c683c7a | 105 | "poolifier": "^2.4.14", |
1dc29974 | 106 | "source-map-support": "^0.5.21", |
7e4b5b38 | 107 | "tar": "^6.1.15", |
adb88a7e | 108 | "tslib": "^2.5.2", |
eabbba95 | 109 | "winston": "^3.9.0", |
2820900f | 110 | "winston-daily-rotate-file": "^4.7.1", |
ab9c8862 | 111 | "ws": "^8.13.0" |
7dde0b73 | 112 | }, |
3d337bdb | 113 | "optionalDependencies": { |
ef85c95a | 114 | "bufferutil": "^4.0.7", |
d994fe7c | 115 | "utf-8-validate": "^6.0.3" |
3d337bdb | 116 | }, |
7dde0b73 | 117 | "devDependencies": { |
13aa228b JB |
118 | "@commitlint/cli": "^17.6.5", |
119 | "@commitlint/config-conventional": "^17.6.5", | |
2c7eda64 | 120 | "@mikro-orm/cli": "^5.7.10", |
d4c84337 | 121 | "@release-it/bumper": "^4.0.2", |
b78290ea | 122 | "@rollup/plugin-json": "^6.0.0", |
7e4b5b38 | 123 | "@rollup/plugin-terser": "^0.4.3", |
484411fd | 124 | "@rollup/plugin-typescript": "^11.1.1", |
f704ec19 | 125 | "@types/mocha": "^10.0.1", |
47e22477 | 126 | "@types/mochawesome": "^6.2.1", |
25fd416f | 127 | "@types/node": "^20.2.5", |
ff2521fc | 128 | "@types/sinon": "^10.0.15", |
f682b2dc | 129 | "@types/tar": "^6.1.5", |
1cc4b9e0 | 130 | "@types/ws": "^8.5.4", |
13aa228b JB |
131 | "@typescript-eslint/eslint-plugin": "^5.59.8", |
132 | "@typescript-eslint/parser": "^5.59.8", | |
672551ed | 133 | "@web/rollup-plugin-copy": "^0.4.0", |
6e19d740 | 134 | "auto-changelog": "^2.4.0", |
cc7bd8c7 | 135 | "c8": "^7.14.0", |
5a9d7452 | 136 | "clinic": "^12.1.0", |
93b6750e | 137 | "cross-env": "^7.0.3", |
6ae3a607 | 138 | "eslint": "^8.41.0", |
62340a29 | 139 | "eslint-config-prettier": "^8.8.0", |
e88cc460 | 140 | "eslint-import-resolver-typescript": "^3.5.5", |
6db3502d | 141 | "eslint-plugin-import": "^2.27.5", |
2f8d6343 | 142 | "eslint-plugin-jsdoc": "^46.0.0", |
7e4b5b38 | 143 | "eslint-plugin-n": "^16.0.0", |
71828518 | 144 | "eslint-plugin-prettier": "^4.2.1", |
0e4fa348 | 145 | "eslint-plugin-tsdoc": "^0.2.17", |
61aad68d | 146 | "expect": "^29.5.0", |
bbe10d5f | 147 | "husky": "^8.0.3", |
aa8ac1ba | 148 | "lint-staged": "^13.2.2", |
d439da5c | 149 | "mocha": "^10.2.0", |
39dca63f | 150 | "mochawesome": "^7.1.3", |
3742487d | 151 | "prettier": "^2.8.8", |
86b9cc07 | 152 | "release-it": "^15.10.3", |
064d000b | 153 | "rimraf": "^5.0.1", |
47e22477 | 154 | "robohydra": "^0.6.9", |
1cec062a | 155 | "rollup": "^3.23.0", |
cb1948a3 | 156 | "rollup-plugin-analyzer": "^4.0.0", |
44b07a21 | 157 | "rollup-plugin-delete": "^2.0.0", |
484411fd | 158 | "semver": "^7.5.1", |
adb88a7e | 159 | "sinon": "^15.1.0", |
9090050f | 160 | "ts-node": "^10.9.1", |
1ec93f5c | 161 | "typescript": "^5.0.4" |
7dde0b73 JB |
162 | } |
163 | } |