build(deps-dev): 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",
76de99e2 4 "version": "1.2.32",
7dde0b73 5 "engines": {
1a6188b2 6 "node": ">=18.18.0",
5f0a7b0d 7 "pnpm": ">=8.6.0"
7dde0b73 8 },
8f074ebf 9 "volta": {
d360ae6e
JB
10 "node": "20.11.0",
11 "pnpm": "8.14.1"
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",
f3f07945 42 "exports": "./dist/start.js",
d22589b3 43 "auto-changelog": {
7f774a55
JB
44 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
45 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
46 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
47 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
d22589b3 48 },
ae8ee665 49 "mikro-orm": {
1552a666 50 "tsConfigPath": "./tsconfig-mikro-orm.json",
ae8ee665
JB
51 "useTsNode": true
52 },
7dde0b73 53 "scripts": {
b0c4f887
JB
54 "preinstall": "node skip-preinstall.js || npx --yes only-allow pnpm",
55 "prepare": "node prepare.js",
56 "build-requirements": "node --no-warnings build-requirements.js",
08164562 57 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
d60bc09d
JB
58 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
59 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
60 "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
61 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
62 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
63 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
64 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
44ebef4c
JB
65 "esbuild": "pnpm build-requirements && node bundle.js",
66 "build": "pnpm esbuild",
44ebef4c 67 "build:dev": "cross-env BUILD=development pnpm esbuild",
b50922fa
JB
68 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
69 "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
1552a666 70 "build:entities": "tsc -p tsconfig-mikro-orm.json",
e592ba1d
JB
71 "clean:dist": "npx rimraf dist",
72 "clean:node_modules": "npx rimraf node_modules",
40dc0c79
JB
73 "lint": "cross-env TIMING=1 eslint --cache src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
74 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
75 "format": "prettier --cache --write .; eslint --cache --fix src .eslintrc.cjs tests bundle.js mikro-orm.config-template.ts",
563a5165
JB
76 "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
77 "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
12240a2e
JB
78 "coverage": "c8 report --reporter=lcov",
79 "coverage:html": "c8 report --reporter=html",
7dde0b73 80 "clinic:clean": "clinic clean",
cedae80d 81 "release": "release-it"
7dde0b73 82 },
a4e5c2e2
JB
83 "pnpm": {
84 "overrides": {
64378b5e 85 "cacheable-request": "^10.2.10",
a4e5c2e2 86 "d3-color": "^3.1.0",
64378b5e 87 "ejs": "^3.1.9",
80e9ca9d 88 "got": "^12.6.1",
d517f61a 89 "semver": "^7.5.3",
2863f68f 90 "uuid": "^9.0.0",
d517f61a 91 "tough-cookie": "^4.1.3"
a4e5c2e2 92 }
db64a53b 93 },
7dde0b73 94 "dependencies": {
7f7aa7a6 95 "@mikro-orm/core": "^6.0.5",
64d0d0ad 96 "@mikro-orm/mariadb": "^6.0.5",
7823b4aa 97 "@mikro-orm/reflection": "^6.0.5",
e27c4f50 98 "@mikro-orm/sqlite": "^6.0.5",
bbe10d5f 99 "ajv": "^8.12.0",
e3018bc4 100 "ajv-formats": "^2.1.1",
bcc63405 101 "basic-ftp": "^5.0.4",
03e9d277 102 "chalk": "^5.3.0",
8caa5116 103 "date-fns": "^3.3.0",
6b442d92 104 "http-status-codes": "^2.3.0",
088ee3c1 105 "just-merge": "^3.2.0",
d7997714 106 "logform": "^2.6.0",
81e2799b 107 "mnemonist": "^0.39.7",
42de5c96 108 "mongodb": "^6.3.0",
a6db51d4 109 "poolifier": "^3.1.19",
cd622f55 110 "tar": "^6.2.0",
c01b2f35 111 "winston": "^3.11.0",
2820900f 112 "winston-daily-rotate-file": "^4.7.1",
5f069371 113 "ws": "^8.16.0"
7dde0b73 114 },
3d337bdb 115 "optionalDependencies": {
4cb190b6 116 "bufferutil": "^4.0.8",
d994fe7c 117 "utf-8-validate": "^6.0.3"
3d337bdb 118 },
7dde0b73 119 "devDependencies": {
f0b146c5
JB
120 "@commitlint/cli": "^18.4.4",
121 "@commitlint/config-conventional": "^18.4.4",
006190c3 122 "@mikro-orm/cli": "^6.0.5",
3d20f4db 123 "@release-it/bumper": "^6.0.1",
0a2bee03 124 "@types/node": "^20.11.5",
4a0329e1
JB
125 "@types/tar": "^6.1.10",
126 "@types/ws": "^8.5.10",
aafba9d8
JB
127 "@typescript-eslint/eslint-plugin": "^6.19.0",
128 "@typescript-eslint/parser": "^6.19.0",
6e19d740 129 "auto-changelog": "^2.4.0",
a223d9be 130 "c8": "^9.1.0",
08921fbb 131 "clinic": "^13.0.0",
93b6750e 132 "cross-env": "^7.0.3",
cc6845fc 133 "esbuild": "^0.19.11",
44ebef4c
JB
134 "esbuild-plugin-clean": "^1.0.1",
135 "esbuild-plugin-copy": "^2.1.1",
2d4e5e71 136 "eslint": "^8.56.0",
66a7748d 137 "eslint-config-standard": "^17.1.0",
8caa5116 138 "eslint-config-standard-with-typescript": "^43.0.1",
66a7748d 139 "eslint-define-config": "^2.1.0",
3d5de16e 140 "eslint-import-resolver-typescript": "^3.6.1",
408f561b 141 "eslint-plugin-import": "^2.29.1",
cebbf5a8 142 "eslint-plugin-jsdoc": "^48.0.2",
47fd0561 143 "eslint-plugin-n": "^16.6.2",
0b5c37bc 144 "eslint-plugin-prettier": "^5.1.3",
0e4fa348 145 "eslint-plugin-tsdoc": "^0.2.17",
3810892e 146 "expect": "^29.7.0",
5226ae70 147 "glob": "^10.3.10",
bbe10d5f 148 "husky": "^8.0.3",
69b30c7e 149 "lint-staged": "^15.2.0",
c7f3c882 150 "prettier": "^3.2.4",
d5c6cfdd 151 "release-it": "^17.0.1",
81ee26e0 152 "rimraf": "^5.0.5",
43ef86a2 153 "semver": "^7.5.4",
66a7748d 154 "ts-node": "^10.9.2",
46613b3f 155 "tsx": "^4.7.0",
de7b9e05 156 "typescript": "~5.3.3"
7dde0b73
JB
157 }
158}