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",
62273e04 4 "version": "1.2.31",
7dde0b73 5 "engines": {
1a6188b2 6 "node": ">=18.18.0",
5f0a7b0d 7 "pnpm": ">=8.6.0"
7dde0b73 8 },
8f074ebf 9 "volta": {
32163793 10 "node": "20.10.0",
15af7aeb 11 "pnpm": "8.13.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",
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": {
b0c4f887
JB
56 "preinstall": "node skip-preinstall.js || npx --yes only-allow pnpm",
57 "prepare": "node prepare.js",
58 "build-requirements": "node --no-warnings build-requirements.js",
08164562 59 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
d60bc09d
JB
60 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
61 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
62 "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
63 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
64 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
65 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
66 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
44ebef4c
JB
67 "esbuild": "pnpm build-requirements && node bundle.js",
68 "build": "pnpm esbuild",
44ebef4c 69 "build:dev": "cross-env BUILD=development pnpm esbuild",
b50922fa
JB
70 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
71 "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
e592ba1d
JB
72 "clean:dist": "npx rimraf dist",
73 "clean:node_modules": "npx rimraf node_modules",
40dc0c79
JB
74 "lint": "cross-env TIMING=1 eslint --cache src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
75 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
76 "format": "prettier --cache --write .; eslint --cache --fix src .eslintrc.cjs tests bundle.js mikro-orm.config-template.ts",
563a5165
JB
77 "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
78 "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
12240a2e
JB
79 "coverage": "c8 report --reporter=lcov",
80 "coverage:html": "c8 report --reporter=html",
7dde0b73 81 "clinic:clean": "clinic clean",
cedae80d 82 "release": "release-it"
7dde0b73 83 },
a4e5c2e2
JB
84 "pnpm": {
85 "overrides": {
64378b5e 86 "cacheable-request": "^10.2.10",
a4e5c2e2 87 "d3-color": "^3.1.0",
64378b5e 88 "ejs": "^3.1.9",
80e9ca9d 89 "got": "^12.6.1",
d517f61a 90 "semver": "^7.5.3",
2863f68f 91 "uuid": "^9.0.0",
d517f61a 92 "tough-cookie": "^4.1.3"
a4e5c2e2 93 }
db64a53b 94 },
7dde0b73 95 "dependencies": {
b13beb88
JB
96 "@mikro-orm/core": "^5.9.7",
97 "@mikro-orm/mariadb": "^5.9.7",
98 "@mikro-orm/reflection": "^5.9.7",
99 "@mikro-orm/sqlite": "^5.9.7",
bbe10d5f 100 "ajv": "^8.12.0",
e3018bc4 101 "ajv-formats": "^2.1.1",
bcc63405 102 "basic-ftp": "^5.0.4",
03e9d277 103 "chalk": "^5.3.0",
eba2c65c 104 "date-fns": "^3.0.6",
6b442d92 105 "http-status-codes": "^2.3.0",
088ee3c1 106 "just-merge": "^3.2.0",
d7997714 107 "logform": "^2.6.0",
81e2799b 108 "mnemonist": "^0.39.7",
42de5c96 109 "mongodb": "^6.3.0",
93e1df46 110 "poolifier": "^3.1.15",
cd622f55 111 "tar": "^6.2.0",
bca45810 112 "tslib": "^2.6.2",
c01b2f35 113 "winston": "^3.11.0",
2820900f 114 "winston-daily-rotate-file": "^4.7.1",
5f069371 115 "ws": "^8.16.0"
7dde0b73 116 },
3d337bdb 117 "optionalDependencies": {
4cb190b6 118 "bufferutil": "^4.0.8",
d994fe7c 119 "utf-8-validate": "^6.0.3"
3d337bdb 120 },
7dde0b73 121 "devDependencies": {
4a0329e1
JB
122 "@commitlint/cli": "^18.4.3",
123 "@commitlint/config-conventional": "^18.4.3",
b13beb88 124 "@mikro-orm/cli": "^5.9.7",
3d20f4db 125 "@release-it/bumper": "^6.0.1",
b13beb88 126 "@types/node": "^20.10.6",
4a0329e1
JB
127 "@types/tar": "^6.1.10",
128 "@types/ws": "^8.5.10",
9dcbad07
JB
129 "@typescript-eslint/eslint-plugin": "^6.17.0",
130 "@typescript-eslint/parser": "^6.17.0",
6e19d740 131 "auto-changelog": "^2.4.0",
20561f78 132 "c8": "^8.0.1",
08921fbb 133 "clinic": "^13.0.0",
93b6750e 134 "cross-env": "^7.0.3",
cc6845fc 135 "esbuild": "^0.19.11",
44ebef4c
JB
136 "esbuild-plugin-clean": "^1.0.1",
137 "esbuild-plugin-copy": "^2.1.1",
2d4e5e71 138 "eslint": "^8.56.0",
66a7748d
JB
139 "eslint-config-standard": "^17.1.0",
140 "eslint-config-standard-with-typescript": "^43.0.0",
141 "eslint-define-config": "^2.1.0",
3d5de16e 142 "eslint-import-resolver-typescript": "^3.6.1",
408f561b 143 "eslint-plugin-import": "^2.29.1",
cebbf5a8 144 "eslint-plugin-jsdoc": "^48.0.2",
81e2799b 145 "eslint-plugin-n": "^16.6.1",
1565a9c3 146 "eslint-plugin-prettier": "^5.1.2",
0e4fa348 147 "eslint-plugin-tsdoc": "^0.2.17",
3810892e 148 "expect": "^29.7.0",
5226ae70 149 "glob": "^10.3.10",
bbe10d5f 150 "husky": "^8.0.3",
69b30c7e 151 "lint-staged": "^15.2.0",
d5286f9f 152 "prettier": "^3.1.1",
d5c6cfdd 153 "release-it": "^17.0.1",
81ee26e0 154 "rimraf": "^5.0.5",
43ef86a2 155 "semver": "^7.5.4",
66a7748d 156 "ts-node": "^10.9.2",
46613b3f 157 "tsx": "^4.7.0",
de7b9e05 158 "typescript": "~5.3.3"
7dde0b73
JB
159 }
160}