Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
7f774a55 | 2 | "name": "e-mobility-charging-stations-simulator", |
f358bc14 | 3 | "version": "1.1.89", |
7dde0b73 | 4 | "engines": { |
aba95196 JB |
5 | "node": ">=16.0.0", |
6 | "npm": ">=8.0.0" | |
7dde0b73 JB |
7 | }, |
8 | "repository": { | |
9 | "type": "git", | |
7f774a55 | 10 | "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" |
7dde0b73 | 11 | }, |
e6159ce8 | 12 | "description": "Electric vehicle charging stations simulator", |
68250247 | 13 | "author": "SAP E-Mobility <e-mobility@sap.com>", |
4160581a JB |
14 | "contributors": [ |
15 | { | |
16 | "name": "Jérôme Benoit", | |
17 | "email": "jerome.benoit@piment-noir.org", | |
18 | "url": "https://github.com/jerome-benoit" | |
19 | } | |
20 | ], | |
7dde0b73 JB |
21 | "license": "Apache-2.0", |
22 | "licenses": [ | |
23 | { | |
24 | "type": "Apache-2.0", | |
25 | "url": "http://www.apache.org/licenses/LICENSE-2.0" | |
26 | } | |
27 | ], | |
db9b23ee JB |
28 | "exports": [ |
29 | "./dist/start.cjs", | |
30 | "./dist/start.mjs" | |
31 | ], | |
d22589b3 | 32 | "auto-changelog": { |
7f774a55 JB |
33 | "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", |
34 | "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", | |
35 | "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}", | |
36 | "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" | |
d22589b3 | 37 | }, |
ae8ee665 | 38 | "mikro-orm": { |
85c8a4cf | 39 | "tsConfigPath": "./tsconfig-orm.json", |
ae8ee665 JB |
40 | "useTsNode": true |
41 | }, | |
7dde0b73 | 42 | "scripts": { |
2aa2a8df | 43 | "prepare": "node prepare.js", |
18ce7cd0 | 44 | "build-requirements": "node build-requirements.js", |
4544f162 JB |
45 | "start": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs", |
46 | "start:debug": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs", | |
44a95b7f JB |
47 | "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs", |
48 | "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.cjs", | |
22cfa750 | 49 | "start:dev:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs", |
44a95b7f JB |
50 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.cjs", |
51 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.cjs", | |
52 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs", | |
53 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.cjs", | |
54 | "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.cjs", | |
93af3fe9 | 55 | "rollup": "npm run build-requirements && rollup --config", |
1d064457 | 56 | "build": "npm run rollup", |
cb1948a3 JB |
57 | "build:dev": "npm run rollup -- --environment BUILD:development", |
58 | "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", | |
65db1aee JB |
59 | "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src", |
60 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src", | |
e60a5ba3 | 61 | "format": "prettier --cache --write .", |
12240a2e | 62 | "test": "c8 mocha test/**/*Test.ts", |
3e985d18 | 63 | "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts", |
12240a2e JB |
64 | "coverage": "c8 report --reporter=lcov", |
65 | "coverage:html": "c8 report --reporter=html", | |
7dde0b73 | 66 | "clinic:clean": "clinic clean", |
47e22477 | 67 | "robohydra": "robohydra test/robohydra/config.json", |
5c97c3b3 | 68 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 69 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 70 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 71 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 72 | "release": "release-it" |
7dde0b73 JB |
73 | }, |
74 | "dependencies": { | |
ee280623 JB |
75 | "@mikro-orm/core": "^5.6.4", |
76 | "@mikro-orm/mariadb": "^5.6.4", | |
77 | "@mikro-orm/reflection": "^5.6.4", | |
78 | "@mikro-orm/sqlite": "^5.6.4", | |
bbe10d5f | 79 | "ajv": "^8.12.0", |
e3018bc4 | 80 | "ajv-formats": "^2.1.1", |
17db4acc | 81 | "basic-ftp": "^5.0.2", |
8eac9a09 | 82 | "chalk": "^4.1.2", |
1f7fa4de | 83 | "http-status-codes": "^2.2.0", |
088ee3c1 JB |
84 | "just-clone": "^6.2.0", |
85 | "just-merge": "^3.2.0", | |
4a5a7863 | 86 | "mnemonist": "^0.39.5", |
5b7a0892 | 87 | "moment": "^2.29.4", |
a9385ae5 | 88 | "mongodb": "^4.13.0", |
58a98076 | 89 | "poolifier": "^2.3.7", |
c63c21bc | 90 | "proper-lockfile": "^4.1.2", |
1dc29974 | 91 | "source-map-support": "^0.5.21", |
0145fecd | 92 | "tar": "^6.1.13", |
4a5a7863 | 93 | "tslib": "^2.4.1", |
d273692c | 94 | "winston": "^3.8.2", |
2820900f | 95 | "winston-daily-rotate-file": "^4.7.1", |
191a8608 | 96 | "ws": "^8.12.0" |
7dde0b73 | 97 | }, |
3d337bdb | 98 | "optionalDependencies": { |
ef85c95a | 99 | "bufferutil": "^4.0.7", |
d4c84337 | 100 | "utf-8-validate": "^6.0.0" |
3d337bdb | 101 | }, |
7dde0b73 | 102 | "devDependencies": { |
9c133fad | 103 | "@istanbuljs/nyc-config-typescript": "^1.0.2", |
ee280623 | 104 | "@mikro-orm/cli": "^5.6.4", |
d4c84337 | 105 | "@release-it/bumper": "^4.0.2", |
b78290ea | 106 | "@rollup/plugin-json": "^6.0.0", |
f704ec19 | 107 | "@types/mocha": "^10.0.1", |
47e22477 | 108 | "@types/mochawesome": "^6.2.1", |
74b322ce | 109 | "@types/node": "^18.11.18", |
c63c21bc | 110 | "@types/proper-lockfile": "^4.1.2", |
7c3f63b6 | 111 | "@types/tar": "^6.1.3", |
1cc4b9e0 | 112 | "@types/ws": "^8.5.4", |
78596286 JB |
113 | "@typescript-eslint/eslint-plugin": "^5.48.1", |
114 | "@typescript-eslint/parser": "^5.48.1", | |
6e19d740 | 115 | "auto-changelog": "^2.4.0", |
12240a2e | 116 | "c8": "^7.12.0", |
771a1ddb | 117 | "clinic": "^12.0.0", |
93b6750e | 118 | "cross-env": "^7.0.3", |
1cc4b9e0 | 119 | "eslint": "^8.31.0", |
1246bb52 | 120 | "eslint-config-prettier": "^8.6.0", |
ef85c95a | 121 | "eslint-import-resolver-typescript": "^3.5.2", |
cc4f4026 | 122 | "eslint-plugin-import": "^2.26.0", |
74cf35dd | 123 | "eslint-plugin-jsdoc": "^39.6.4", |
fa238ed4 | 124 | "eslint-plugin-n": "^15.6.0", |
71828518 | 125 | "eslint-plugin-prettier": "^4.2.1", |
0e4fa348 | 126 | "eslint-plugin-tsdoc": "^0.2.17", |
ac69344c | 127 | "expect": "^29.3.1", |
bbe10d5f | 128 | "husky": "^8.0.3", |
56d6fd38 | 129 | "lint-staged": "^13.1.0", |
d439da5c | 130 | "mocha": "^10.2.0", |
39dca63f | 131 | "mochawesome": "^7.1.3", |
191a8608 | 132 | "prettier": "^2.8.2", |
8228f972 | 133 | "release-it": "^15.6.0", |
47e22477 | 134 | "robohydra": "^0.6.9", |
1246bb52 | 135 | "rollup": "^3.9.1", |
cb1948a3 | 136 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 137 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 138 | "rollup-plugin-delete": "^2.0.0", |
fc201913 | 139 | "rollup-plugin-terser": "^7.0.2", |
26545e12 | 140 | "rollup-plugin-ts": "^3.0.2", |
4b9419c8 | 141 | "semver": "^7.3.8", |
9090050f | 142 | "ts-node": "^10.9.1", |
c9548401 | 143 | "typescript": "^4.9.4" |
7dde0b73 JB |
144 | } |
145 | } |