Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
beb235d6 | 2 | "$schema": "https://json.schemastore.org/package", |
7f774a55 | 3 | "name": "e-mobility-charging-stations-simulator", |
11483004 | 4 | "version": "1.2.29", |
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", |
e6a97a6c | 11 | "pnpm": "8.11.0" |
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", | |
95f74dfb JB |
74 | "lint": "cross-env TIMING=1 eslint --cache src", |
75 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix src", | |
e60a5ba3 | 76 | "format": "prettier --cache --write .", |
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": { |
793a8ffc JB |
96 | "@mikro-orm/core": "^5.9.4", |
97 | "@mikro-orm/mariadb": "^5.9.4", | |
98 | "@mikro-orm/reflection": "^5.9.4", | |
99 | "@mikro-orm/sqlite": "^5.9.4", | |
bbe10d5f | 100 | "ajv": "^8.12.0", |
e3018bc4 | 101 | "ajv-formats": "^2.1.1", |
08049dfd | 102 | "basic-ftp": "^5.0.3", |
03e9d277 | 103 | "chalk": "^5.3.0", |
a735b673 | 104 | "date-fns": "3.0.0-rc.2", |
6b442d92 | 105 | "http-status-codes": "^2.3.0", |
088ee3c1 | 106 | "just-merge": "^3.2.0", |
d7997714 | 107 | "logform": "^2.6.0", |
41f3983a | 108 | "mnemonist": "^0.39.6", |
42de5c96 | 109 | "mongodb": "^6.3.0", |
7e1c8b60 | 110 | "poolifier": "^3.0.10", |
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", |
115ee0e2 | 115 | "ws": "^8.14.2" |
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", | |
793a8ffc | 124 | "@mikro-orm/cli": "^5.9.4", |
3d20f4db | 125 | "@release-it/bumper": "^6.0.1", |
71ac6975 | 126 | "@types/node": "^20.10.4", |
4a0329e1 JB |
127 | "@types/tar": "^6.1.10", |
128 | "@types/ws": "^8.5.10", | |
a735b673 JB |
129 | "@typescript-eslint/eslint-plugin": "^6.13.2", |
130 | "@typescript-eslint/parser": "^6.13.2", | |
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", |
94327d93 | 135 | "esbuild": "^0.19.8", |
44ebef4c JB |
136 | "esbuild-plugin-clean": "^1.0.1", |
137 | "esbuild-plugin-copy": "^2.1.1", | |
59272933 JB |
138 | "eslint": "^8.55.0", |
139 | "eslint-config-prettier": "^9.1.0", | |
3d5de16e | 140 | "eslint-import-resolver-typescript": "^3.6.1", |
467dd11d | 141 | "eslint-plugin-import": "^2.29.0", |
564dc47e JB |
142 | "eslint-plugin-jsdoc": "^46.9.0", |
143 | "eslint-plugin-n": "^16.3.1", | |
07a8e203 | 144 | "eslint-plugin-prettier": "^5.0.1", |
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", |
9488054b | 150 | "prettier": "^3.1.0", |
d5c6cfdd | 151 | "release-it": "^17.0.1", |
81ee26e0 | 152 | "rimraf": "^5.0.5", |
43ef86a2 | 153 | "semver": "^7.5.4", |
59272933 | 154 | "tsx": "^4.6.2", |
de7b9e05 | 155 | "typescript": "~5.3.3" |
7dde0b73 JB |
156 | } |
157 | } |