Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
7f774a55 | 2 | "name": "e-mobility-charging-stations-simulator", |
9d8360d8 | 3 | "version": "1.2.3", |
7dde0b73 | 4 | "engines": { |
43d5dd05 | 5 | "node": ">=16.9.0" |
7dde0b73 JB |
6 | }, |
7 | "repository": { | |
8 | "type": "git", | |
7f774a55 | 9 | "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" |
7dde0b73 | 10 | }, |
e6159ce8 | 11 | "description": "Electric vehicle charging stations simulator", |
68250247 | 12 | "author": "SAP E-Mobility <e-mobility@sap.com>", |
4160581a JB |
13 | "contributors": [ |
14 | { | |
15 | "name": "Jérôme Benoit", | |
16 | "email": "jerome.benoit@piment-noir.org", | |
17 | "url": "https://github.com/jerome-benoit" | |
18 | } | |
19 | ], | |
7dde0b73 JB |
20 | "license": "Apache-2.0", |
21 | "licenses": [ | |
22 | { | |
23 | "type": "Apache-2.0", | |
24 | "url": "http://www.apache.org/licenses/LICENSE-2.0" | |
25 | } | |
26 | ], | |
92ce5473 | 27 | "type": "module", |
db9b23ee | 28 | "exports": [ |
db9b23ee JB |
29 | "./dist/start.mjs" |
30 | ], | |
d22589b3 | 31 | "auto-changelog": { |
7f774a55 JB |
32 | "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", |
33 | "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", | |
34 | "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}", | |
35 | "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" | |
d22589b3 | 36 | }, |
ae8ee665 | 37 | "mikro-orm": { |
85c8a4cf | 38 | "tsConfigPath": "./tsconfig-orm.json", |
ae8ee665 JB |
39 | "useTsNode": true |
40 | }, | |
7dde0b73 | 41 | "scripts": { |
514a30ba | 42 | "preinstall": "node skip-preinstall.cjs || npx only-allow pnpm", |
92ce5473 | 43 | "prepare": "node prepare.cjs", |
653b69b4 | 44 | "build-requirements": "node --no-warnings build-requirements.mjs", |
881f450c JB |
45 | "start": "pnpm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.mjs", |
46 | "start:dev": "pnpm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs", | |
47 | "start:dev:debug": "pnpm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.mjs", | |
653b69b4 | 48 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.mjs", |
abe9e9dd JB |
49 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.mjs", |
50 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.mjs", | |
51 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.mjs", | |
52 | "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.mjs", | |
881f450c JB |
53 | "rollup": "pnpm run build-requirements && rollup --config", |
54 | "build": "pnpm run rollup", | |
e592ba1d | 55 | "build:cf": "pnpm run clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm run rollup", |
881f450c JB |
56 | "build:dev": "pnpm run rollup -- --environment BUILD:development", |
57 | "build:dev:watch": "pnpm run rollup -- --environment BUILD:development --watch", | |
e592ba1d JB |
58 | "clean:dist": "npx rimraf dist", |
59 | "clean:node_modules": "npx rimraf node_modules", | |
92ce5473 JB |
60 | "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src", |
61 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src", | |
e60a5ba3 | 62 | "format": "prettier --cache --write .", |
12240a2e | 63 | "test": "c8 mocha test/**/*Test.ts", |
3e985d18 | 64 | "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts", |
12240a2e JB |
65 | "coverage": "c8 report --reporter=lcov", |
66 | "coverage:html": "c8 report --reporter=html", | |
7dde0b73 | 67 | "clinic:clean": "clinic clean", |
47e22477 | 68 | "robohydra": "robohydra test/robohydra/config.json", |
5c97c3b3 | 69 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 70 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 71 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 72 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 73 | "release": "release-it" |
7dde0b73 | 74 | }, |
db64a53b JB |
75 | "overrides": { |
76 | "cacheable-request": "^10.2.7", | |
77 | "d3-color": "^3.1.0" | |
78 | }, | |
7dde0b73 | 79 | "dependencies": { |
89787c99 JB |
80 | "@mikro-orm/core": "^5.6.16", |
81 | "@mikro-orm/mariadb": "^5.6.16", | |
82 | "@mikro-orm/reflection": "^5.6.16", | |
83 | "@mikro-orm/sqlite": "^5.6.16", | |
bbe10d5f | 84 | "ajv": "^8.12.0", |
e3018bc4 | 85 | "ajv-formats": "^2.1.1", |
17db4acc | 86 | "basic-ftp": "^5.0.2", |
653b69b4 | 87 | "chalk": "^5.2.0", |
1f7fa4de | 88 | "http-status-codes": "^2.2.0", |
088ee3c1 JB |
89 | "just-clone": "^6.2.0", |
90 | "just-merge": "^3.2.0", | |
5a2a53cf | 91 | "logform": "^2.5.1", |
4a5a7863 | 92 | "mnemonist": "^0.39.5", |
5b7a0892 | 93 | "moment": "^2.29.4", |
89787c99 | 94 | "mongodb": "^5.2.0", |
2beeb6d9 | 95 | "poolifier": "^2.4.5", |
c63c21bc | 96 | "proper-lockfile": "^4.1.2", |
1dc29974 | 97 | "source-map-support": "^0.5.21", |
0145fecd | 98 | "tar": "^6.1.13", |
6a6acd38 | 99 | "tslib": "^2.5.0", |
d273692c | 100 | "winston": "^3.8.2", |
2820900f | 101 | "winston-daily-rotate-file": "^4.7.1", |
ab9c8862 | 102 | "ws": "^8.13.0" |
7dde0b73 | 103 | }, |
3d337bdb | 104 | "optionalDependencies": { |
ef85c95a | 105 | "bufferutil": "^4.0.7", |
d994fe7c | 106 | "utf-8-validate": "^6.0.3" |
3d337bdb | 107 | }, |
7dde0b73 | 108 | "devDependencies": { |
9a9aa23a | 109 | "@commitlint/cli": "^17.5.1", |
d91f7756 | 110 | "@commitlint/config-conventional": "^17.4.4", |
89787c99 | 111 | "@mikro-orm/cli": "^5.6.16", |
d4c84337 | 112 | "@release-it/bumper": "^4.0.2", |
b78290ea | 113 | "@rollup/plugin-json": "^6.0.0", |
8b6da988 | 114 | "@rollup/plugin-terser": "^0.4.0", |
ab8e7b97 | 115 | "@rollup/plugin-typescript": "^11.1.0", |
f704ec19 | 116 | "@types/mocha": "^10.0.1", |
47e22477 | 117 | "@types/mochawesome": "^6.2.1", |
11e56c59 | 118 | "@types/node": "^18.15.11", |
c63c21bc | 119 | "@types/proper-lockfile": "^4.1.2", |
21ece8a1 | 120 | "@types/sinon": "^10.0.13", |
08683829 | 121 | "@types/tar": "^6.1.4", |
1cc4b9e0 | 122 | "@types/ws": "^8.5.4", |
1169786c JB |
123 | "@typescript-eslint/eslint-plugin": "^5.57.1", |
124 | "@typescript-eslint/parser": "^5.57.1", | |
6e19d740 | 125 | "auto-changelog": "^2.4.0", |
08683829 | 126 | "c8": "^7.13.0", |
5a9d7452 | 127 | "clinic": "^12.1.0", |
93b6750e | 128 | "cross-env": "^7.0.3", |
a7bb1845 | 129 | "eslint": "^8.38.0", |
62340a29 | 130 | "eslint-config-prettier": "^8.8.0", |
e88cc460 | 131 | "eslint-import-resolver-typescript": "^3.5.5", |
6db3502d | 132 | "eslint-plugin-import": "^2.27.5", |
2beeb6d9 | 133 | "eslint-plugin-jsdoc": "^40.1.2", |
11e56c59 | 134 | "eslint-plugin-n": "^15.7.0", |
71828518 | 135 | "eslint-plugin-prettier": "^4.2.1", |
0e4fa348 | 136 | "eslint-plugin-tsdoc": "^0.2.17", |
61aad68d | 137 | "expect": "^29.5.0", |
bbe10d5f | 138 | "husky": "^8.0.3", |
62e69a6b | 139 | "lint-staged": "^13.2.1", |
d439da5c | 140 | "mocha": "^10.2.0", |
39dca63f | 141 | "mochawesome": "^7.1.3", |
930c92d0 | 142 | "prettier": "^2.8.7", |
1169786c | 143 | "release-it": "^15.10.1", |
514a30ba | 144 | "rimraf": "^4.4.1", |
47e22477 | 145 | "robohydra": "^0.6.9", |
930c92d0 | 146 | "rollup": "^3.20.2", |
cb1948a3 | 147 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 148 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 149 | "rollup-plugin-delete": "^2.0.0", |
4b9419c8 | 150 | "semver": "^7.3.8", |
84818443 | 151 | "sinon": "^15.0.3", |
9090050f | 152 | "ts-node": "^10.9.1", |
1ec93f5c | 153 | "typescript": "^5.0.4" |
7dde0b73 JB |
154 | } |
155 | } |