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