Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
beb235d6 | 2 | "$schema": "https://json.schemastore.org/package", |
7f774a55 | 3 | "name": "e-mobility-charging-stations-simulator", |
5d42650b | 4 | "version": "1.3.6", |
7dde0b73 | 5 | "engines": { |
1a6188b2 | 6 | "node": ">=18.18.0", |
6eddb719 | 7 | "pnpm": ">=9.0.0" |
7dde0b73 | 8 | }, |
8f074ebf | 9 | "volta": { |
b89f8c82 | 10 | "node": "22.3.0", |
9d31316e | 11 | "pnpm": "9.4.0" |
8f074ebf | 12 | }, |
9d31316e | 13 | "packageManager": "pnpm@9.4.0", |
7dde0b73 JB |
14 | "repository": { |
15 | "type": "git", | |
7f774a55 | 16 | "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" |
7dde0b73 | 17 | }, |
e6159ce8 | 18 | "description": "Electric vehicle charging stations simulator", |
68250247 | 19 | "author": "SAP E-Mobility <e-mobility@sap.com>", |
0215fd14 JB |
20 | "keywords": [ |
21 | "ocpp", | |
22 | "ocpp-j", | |
23 | "ocpp1.6", | |
24 | "ocpp2.0", | |
25 | "charging station", | |
26 | "load testing" | |
27 | ], | |
4160581a JB |
28 | "contributors": [ |
29 | { | |
30 | "name": "Jérôme Benoit", | |
31 | "email": "jerome.benoit@piment-noir.org", | |
32 | "url": "https://github.com/jerome-benoit" | |
33 | } | |
34 | ], | |
7dde0b73 JB |
35 | "license": "Apache-2.0", |
36 | "licenses": [ | |
37 | { | |
38 | "type": "Apache-2.0", | |
39 | "url": "http://www.apache.org/licenses/LICENSE-2.0" | |
40 | } | |
41 | ], | |
92ce5473 | 42 | "type": "module", |
f3f07945 | 43 | "exports": "./dist/start.js", |
d22589b3 | 44 | "auto-changelog": { |
7f774a55 JB |
45 | "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", |
46 | "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", | |
47 | "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}", | |
48 | "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" | |
d22589b3 | 49 | }, |
ae8ee665 | 50 | "mikro-orm": { |
1552a666 | 51 | "tsConfigPath": "./tsconfig-mikro-orm.json", |
ae8ee665 JB |
52 | "useTsNode": true |
53 | }, | |
7dde0b73 | 54 | "scripts": { |
b0c4f887 JB |
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", |
e1486a4c JB |
68 | "build:cf": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build", |
69 | "build:cf:dev": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev", | |
1552a666 | 70 | "build:entities": "tsc -p tsconfig-mikro-orm.json", |
e1486a4c JB |
71 | "clean:dist": "pnpm exec rimraf dist", |
72 | "clean:node_modules": "pnpm exec rimraf node_modules", | |
c69ae13b JB |
73 | "lint": "cross-env TIMING=1 eslint --cache src tests ./*.cjs ./*.js ./*.ts", |
74 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests ./*.cjs ./*.js ./*.ts", | |
75 | "format": "prettier --cache --write .; eslint --cache --fix src tests ./*.cjs ./*.js ./*.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": { |
4ed43d28 JB |
95 | "@mikro-orm/core": "^6.2.9", |
96 | "@mikro-orm/mariadb": "^6.2.9", | |
97 | "@mikro-orm/reflection": "^6.2.9", | |
98 | "@mikro-orm/sqlite": "^6.2.9", | |
312d3254 | 99 | "ajv": "^8.16.0", |
80af2766 | 100 | "ajv-formats": "^3.0.1", |
22af77b3 | 101 | "basic-ftp": "^5.0.5", |
03e9d277 | 102 | "chalk": "^5.3.0", |
aa711e39 | 103 | "date-fns": "^3.6.0", |
6b442d92 | 104 | "http-status-codes": "^2.3.0", |
d7997714 | 105 | "logform": "^2.6.0", |
e80de0da | 106 | "mnemonist": "0.40.0-rc1", |
a6fac14d | 107 | "mongodb": "^6.8.0", |
93881203 | 108 | "poolifier": "^4.0.15", |
12c0935b | 109 | "rambda": "^9.2.1", |
a79c81af | 110 | "tar": "^7.4.0", |
551f2b6e | 111 | "winston": "^3.13.0", |
b0211498 | 112 | "winston-daily-rotate-file": "^5.0.0", |
9d31316e | 113 | "ws": "^8.17.1" |
7dde0b73 | 114 | }, |
3d337bdb | 115 | "optionalDependencies": { |
4cb190b6 | 116 | "bufferutil": "^4.0.8", |
1f851da6 | 117 | "utf-8-validate": "^6.0.4" |
3d337bdb | 118 | }, |
7dde0b73 | 119 | "devDependencies": { |
04b885f0 | 120 | "@commitlint/cli": "^19.3.0", |
5b7bbdba | 121 | "@commitlint/config-conventional": "^19.2.2", |
4ed43d28 | 122 | "@mikro-orm/cli": "^6.2.9", |
3d20f4db | 123 | "@release-it/bumper": "^6.0.1", |
6c7388a4 | 124 | "@types/node": "^20.14.9", |
9ed96ef8 | 125 | "@types/semver": "^7.5.8", |
4a0329e1 | 126 | "@types/ws": "^8.5.10", |
11846be1 JB |
127 | "@typescript-eslint/eslint-plugin": "^7.15.0", |
128 | "@typescript-eslint/parser": "^7.15.0", | |
6e19d740 | 129 | "auto-changelog": "^2.4.0", |
a6a928b1 | 130 | "c8": "^10.1.2", |
08921fbb | 131 | "clinic": "^13.0.0", |
93b6750e | 132 | "cross-env": "^7.0.3", |
7f6b56b5 | 133 | "esbuild": "^0.23.0", |
44ebef4c JB |
134 | "esbuild-plugin-clean": "^1.0.1", |
135 | "esbuild-plugin-copy": "^2.1.1", | |
f4bc6863 | 136 | "eslint": "^8.57.0", |
dbbe79a0 | 137 | "eslint-config-love": "^47.0.0", |
66a7748d | 138 | "eslint-config-standard": "^17.1.0", |
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", |
6c7388a4 | 142 | "eslint-plugin-jsdoc": "^48.5.0", |
06b60859 | 143 | "eslint-plugin-n": "^17.9.0", |
a637f99f | 144 | "eslint-plugin-simple-import-sort": "^12.1.0", |
cc99095f | 145 | "eslint-plugin-tsdoc": "^0.3.0", |
3810892e | 146 | "expect": "^29.7.0", |
a79c81af | 147 | "glob": "^10.4.2", |
a474cbe1 | 148 | "husky": "^9.0.11", |
a6a928b1 | 149 | "lint-staged": "^15.2.7", |
7e7760d1 | 150 | "prettier": "^3.3.2", |
11846be1 | 151 | "release-it": "^17.4.1", |
7445d18b | 152 | "rimraf": "^5.0.7", |
5218eec2 | 153 | "semver": "^7.6.2", |
66a7748d | 154 | "ts-node": "^10.9.2", |
9daf701f | 155 | "tsx": "^4.16.0", |
6537ae8f | 156 | "typescript": "~5.5.3" |
7dde0b73 JB |
157 | } |
158 | } |