build(simulator): use node.js builtin source maps support
[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",
7c0473f8 4 "version": "1.2.23",
7dde0b73 5 "engines": {
eef659c1 6 "node": ">=18.17.0",
5f0a7b0d 7 "pnpm": ">=8.6.0"
7dde0b73 8 },
8f074ebf 9 "volta": {
bdc3eac0 10 "node": "20.9.0",
0c61174c 11 "pnpm": "8.10.2"
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",
d60bc09d
JB
59 "start": "pnpm build && cross-env NODE_ENV=production node --enable-source-maps dist/start.js",
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",
69 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm esbuild",
70 "build:dev": "cross-env BUILD=development pnpm esbuild",
e592ba1d
JB
71 "clean:dist": "npx rimraf dist",
72 "clean:node_modules": "npx rimraf node_modules",
95f74dfb
JB
73 "lint": "cross-env TIMING=1 eslint --cache src",
74 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
e60a5ba3 75 "format": "prettier --cache --write .",
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": {
e41888d6
JB
95 "@mikro-orm/core": "^5.9.2",
96 "@mikro-orm/mariadb": "^5.9.2",
97 "@mikro-orm/reflection": "^5.9.2",
98 "@mikro-orm/sqlite": "^5.9.2",
bbe10d5f 99 "ajv": "^8.12.0",
e3018bc4 100 "ajv-formats": "^2.1.1",
08049dfd 101 "basic-ftp": "^5.0.3",
03e9d277 102 "chalk": "^5.3.0",
a675e34b 103 "date-fns": "^2.30.0",
6b442d92 104 "http-status-codes": "^2.3.0",
088ee3c1 105 "just-merge": "^3.2.0",
d7997714 106 "logform": "^2.6.0",
4a5a7863 107 "mnemonist": "^0.39.5",
3c701d01 108 "mongodb": "^6.2.0",
db98e2e7 109 "poolifier": "^3.0.5",
cd622f55 110 "tar": "^6.2.0",
bca45810 111 "tslib": "^2.6.2",
c01b2f35 112 "winston": "^3.11.0",
2820900f 113 "winston-daily-rotate-file": "^4.7.1",
115ee0e2 114 "ws": "^8.14.2"
7dde0b73 115 },
3d337bdb 116 "optionalDependencies": {
4cb190b6 117 "bufferutil": "^4.0.8",
d994fe7c 118 "utf-8-validate": "^6.0.3"
3d337bdb 119 },
7dde0b73 120 "devDependencies": {
883940f8
JB
121 "@commitlint/cli": "^18.2.0",
122 "@commitlint/config-conventional": "^18.1.0",
e41888d6 123 "@mikro-orm/cli": "^5.9.2",
b5ef1485 124 "@release-it/bumper": "^5.1.0",
9604a975 125 "@types/node": "^20.8.10",
11d2856f 126 "@types/tar": "^6.1.7",
c182152a 127 "@types/ws": "^8.5.8",
4e465629
JB
128 "@typescript-eslint/eslint-plugin": "^6.9.1",
129 "@typescript-eslint/parser": "^6.9.1",
6e19d740 130 "auto-changelog": "^2.4.0",
20561f78 131 "c8": "^8.0.1",
08921fbb 132 "clinic": "^13.0.0",
93b6750e 133 "cross-env": "^7.0.3",
44ebef4c
JB
134 "esbuild": "^0.19.5",
135 "esbuild-plugin-clean": "^1.0.1",
136 "esbuild-plugin-copy": "^2.1.1",
dccd4bb5 137 "eslint": "^8.53.0",
24a27d1b 138 "eslint-config-prettier": "^9.0.0",
3d5de16e 139 "eslint-import-resolver-typescript": "^3.6.1",
467dd11d 140 "eslint-plugin-import": "^2.29.0",
1c64afa6 141 "eslint-plugin-jsdoc": "^46.8.2",
4d8b3f70 142 "eslint-plugin-n": "^16.2.0",
07a8e203 143 "eslint-plugin-prettier": "^5.0.1",
0e4fa348 144 "eslint-plugin-tsdoc": "^0.2.17",
3810892e 145 "expect": "^29.7.0",
5226ae70 146 "glob": "^10.3.10",
bbe10d5f 147 "husky": "^8.0.3",
cb59f260 148 "lint-staged": "^15.0.2",
50be55e7 149 "prettier": "^3.0.3",
997335ab 150 "release-it": "^16.2.1",
81ee26e0 151 "rimraf": "^5.0.5",
43ef86a2 152 "semver": "^7.5.4",
5a272a92 153 "tsx": "^3.14.0",
d80459ea 154 "typescript": "~5.2.2"
7dde0b73
JB
155 }
156}