build(deps): apply updates
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
beb235d6 2 "$schema": "https://json.schemastore.org/package",
7f774a55 3 "name": "e-mobility-charging-stations-simulator",
c6e44ef1 4 "version": "1.2.21",
7dde0b73 5 "engines": {
eef659c1 6 "node": ">=18.17.0",
5f0a7b0d 7 "pnpm": ">=8.6.0"
7dde0b73 8 },
8f074ebf 9 "volta": {
1caa23c0 10 "node": "20.6.1",
db225832 11 "pnpm": "8.7.4"
8f074ebf 12 },
7dde0b73
JB
13 "repository": {
14 "type": "git",
7f774a55 15 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
7dde0b73 16 },
e6159ce8 17 "description": "Electric vehicle charging stations simulator",
68250247 18 "author": "SAP E-Mobility <e-mobility@sap.com>",
0215fd14
JB
19 "keywords": [
20 "ocpp",
21 "ocpp-j",
22 "ocpp1.6",
23 "ocpp2.0",
24 "charging station",
25 "load testing"
26 ],
4160581a
JB
27 "contributors": [
28 {
29 "name": "Jérôme Benoit",
30 "email": "jerome.benoit@piment-noir.org",
31 "url": "https://github.com/jerome-benoit"
32 }
33 ],
7dde0b73
JB
34 "license": "Apache-2.0",
35 "licenses": [
36 {
37 "type": "Apache-2.0",
38 "url": "http://www.apache.org/licenses/LICENSE-2.0"
39 }
40 ],
92ce5473 41 "type": "module",
db9b23ee 42 "exports": [
51022aa0 43 "./dist/start.js"
db9b23ee 44 ],
d22589b3 45 "auto-changelog": {
7f774a55
JB
46 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
47 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
48 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
49 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
d22589b3 50 },
ae8ee665 51 "mikro-orm": {
85c8a4cf 52 "tsConfigPath": "./tsconfig-orm.json",
ae8ee665
JB
53 "useTsNode": true
54 },
7dde0b73 55 "scripts": {
a90bec52 56 "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
92ce5473 57 "prepare": "node prepare.cjs",
653b69b4 58 "build-requirements": "node --no-warnings build-requirements.mjs",
bdc9dc79 59 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
51022aa0
JB
60 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
61 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
62 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
63 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
64 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
65 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
66 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
c7f157db
JB
67 "rollup": "pnpm build-requirements && rollup --config",
68 "build": "pnpm rollup",
69 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
51022aa0
JB
70 "build:dev": "pnpm rollup --environment BUILD:development",
71 "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development",
72 "build:dev:watch": "pnpm rollup --environment BUILD:development --watch",
e592ba1d
JB
73 "clean:dist": "npx rimraf dist",
74 "clean:node_modules": "npx rimraf node_modules",
95f74dfb
JB
75 "lint": "cross-env TIMING=1 eslint --cache src",
76 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
e60a5ba3 77 "format": "prettier --cache --write .",
d4ad9d45
JB
78 "test": "c8 mocha test/**/*.test.ts",
79 "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts",
12240a2e
JB
80 "coverage": "c8 report --reporter=lcov",
81 "coverage:html": "c8 report --reporter=html",
7dde0b73 82 "clinic:clean": "clinic clean",
47e22477 83 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 84 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 85 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 86 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 87 "git:spush": "git push --recurse-submodules=on-demand",
cedae80d 88 "release": "release-it"
7dde0b73 89 },
a4e5c2e2
JB
90 "pnpm": {
91 "overrides": {
64378b5e 92 "cacheable-request": "^10.2.10",
a4e5c2e2 93 "d3-color": "^3.1.0",
64378b5e 94 "ejs": "^3.1.9",
80e9ca9d 95 "got": "^12.6.1",
d517f61a
JB
96 "semver": "^7.5.3",
97 "tough-cookie": "^4.1.3"
a4e5c2e2 98 }
db64a53b 99 },
7dde0b73 100 "dependencies": {
ec7e7c38
JB
101 "@mikro-orm/core": "^5.8.0",
102 "@mikro-orm/mariadb": "^5.8.0",
103 "@mikro-orm/reflection": "^5.8.0",
104 "@mikro-orm/sqlite": "^5.8.0",
bbe10d5f 105 "ajv": "^8.12.0",
e3018bc4 106 "ajv-formats": "^2.1.1",
08049dfd 107 "basic-ftp": "^5.0.3",
03e9d277 108 "chalk": "^5.3.0",
a675e34b 109 "date-fns": "^2.30.0",
1f7fa4de 110 "http-status-codes": "^2.2.0",
088ee3c1 111 "just-merge": "^3.2.0",
5a2a53cf 112 "logform": "^2.5.1",
4a5a7863 113 "mnemonist": "^0.39.5",
50be55e7 114 "mongodb": "^6.0.0",
e94ae3fb 115 "poolifier": "^2.6.44",
1dc29974 116 "source-map-support": "^0.5.21",
cd622f55 117 "tar": "^6.2.0",
bca45810 118 "tslib": "^2.6.2",
3e8d029b 119 "winston": "^3.10.0",
2820900f 120 "winston-daily-rotate-file": "^4.7.1",
e94ae3fb 121 "ws": "^8.14.1"
7dde0b73 122 },
3d337bdb 123 "optionalDependencies": {
ef85c95a 124 "bufferutil": "^4.0.7",
d994fe7c 125 "utf-8-validate": "^6.0.3"
3d337bdb 126 },
7dde0b73 127 "devDependencies": {
061ff2b0 128 "@commitlint/cli": "^17.7.1",
b1af7ec9 129 "@commitlint/config-conventional": "^17.7.0",
ec7e7c38 130 "@mikro-orm/cli": "^5.8.0",
b5ef1485 131 "@release-it/bumper": "^5.1.0",
b78290ea 132 "@rollup/plugin-json": "^6.0.0",
7e4b5b38 133 "@rollup/plugin-terser": "^0.4.3",
e864dfab 134 "@rollup/plugin-typescript": "^11.1.3",
f704ec19 135 "@types/mocha": "^10.0.1",
47e22477 136 "@types/mochawesome": "^6.2.1",
5d6989f2 137 "@types/node": "^20.6.0",
60354605 138 "@types/sinon": "^10.0.16",
f682b2dc 139 "@types/tar": "^6.1.5",
20770557 140 "@types/ws": "^8.5.5",
ec7e7c38
JB
141 "@typescript-eslint/eslint-plugin": "^6.7.0",
142 "@typescript-eslint/parser": "^6.7.0",
672551ed 143 "@web/rollup-plugin-copy": "^0.4.0",
6e19d740 144 "auto-changelog": "^2.4.0",
20561f78 145 "c8": "^8.0.1",
08921fbb 146 "clinic": "^13.0.0",
93b6750e 147 "cross-env": "^7.0.3",
5d6989f2 148 "eslint": "^8.49.0",
24a27d1b 149 "eslint-config-prettier": "^9.0.0",
b1af7ec9 150 "eslint-import-resolver-typescript": "^3.6.0",
bca45810 151 "eslint-plugin-import": "^2.28.1",
ec7e7c38
JB
152 "eslint-plugin-jsdoc": "^46.6.0",
153 "eslint-plugin-n": "^16.1.0",
5edd8ba0 154 "eslint-plugin-prettier": "^5.0.0",
0e4fa348 155 "eslint-plugin-tsdoc": "^0.2.17",
440850e1 156 "expect": "^29.6.4",
bbe10d5f 157 "husky": "^8.0.3",
bf84730b 158 "lint-staged": "^14.0.1",
d439da5c 159 "mocha": "^10.2.0",
39dca63f 160 "mochawesome": "^7.1.3",
50be55e7 161 "prettier": "^3.0.3",
57f518ed 162 "release-it": "^16.1.5",
064d000b 163 "rimraf": "^5.0.1",
47e22477 164 "robohydra": "^0.6.9",
ec7e7c38 165 "rollup": "^3.29.1",
cb1948a3 166 "rollup-plugin-analyzer": "^4.0.0",
44b07a21 167 "rollup-plugin-delete": "^2.0.0",
43ef86a2 168 "semver": "^7.5.4",
2b080fa6 169 "sinon": "^15.2.0",
9090050f 170 "ts-node": "^10.9.1",
d80459ea 171 "typescript": "~5.2.2"
7dde0b73
JB
172 }
173}