4a63c5c11c37f067092164a80e2522b586ca97c7
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "$schema": "https://json.schemastore.org/package",
3 "name": "e-mobility-charging-stations-simulator",
4 "version": "1.2.23",
5 "engines": {
6 "node": ">=18.17.0",
7 "pnpm": ">=8.6.0"
8 },
9 "volta": {
10 "node": "20.8.0",
11 "pnpm": "8.8.0"
12 },
13 "repository": {
14 "type": "git",
15 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
16 },
17 "description": "Electric vehicle charging stations simulator",
18 "author": "SAP E-Mobility <e-mobility@sap.com>",
19 "keywords": [
20 "ocpp",
21 "ocpp-j",
22 "ocpp1.6",
23 "ocpp2.0",
24 "charging station",
25 "load testing"
26 ],
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 ],
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 ],
41 "type": "module",
42 "exports": [
43 "./dist/start.js"
44 ],
45 "auto-changelog": {
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}"
50 },
51 "mikro-orm": {
52 "tsConfigPath": "./tsconfig-orm.json",
53 "useTsNode": true
54 },
55 "scripts": {
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",
59 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
60 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
61 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
62 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
63 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
64 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
65 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
66 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
67 "rollup": "pnpm build-requirements && rollup --config",
68 "build": "pnpm rollup",
69 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
70 "build:dev": "pnpm rollup --environment BUILD:development",
71 "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development",
72 "build:dev:watch": "pnpm rollup --environment BUILD:development --watch",
73 "clean:dist": "npx rimraf dist",
74 "clean:node_modules": "npx rimraf node_modules",
75 "lint": "cross-env TIMING=1 eslint --cache src",
76 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
77 "format": "prettier --cache --write .",
78 "test": "glob -c \"c8 node --loader tsx --no-warnings=ExperimentalWarning --test\" \"tests/**/*.test.ts\"",
79 "test:debug": "glob -c \"node --loader tsx --no-warnings=ExperimentalWarning --test --inspect\" \"tests/**/*.test.ts\"",
80 "coverage": "c8 report --reporter=lcov",
81 "coverage:html": "c8 report --reporter=html",
82 "clinic:clean": "clinic clean",
83 "release": "release-it"
84 },
85 "pnpm": {
86 "overrides": {
87 "cacheable-request": "^10.2.10",
88 "d3-color": "^3.1.0",
89 "ejs": "^3.1.9",
90 "got": "^12.6.1",
91 "semver": "^7.5.3",
92 "uuid": "^9.0.0",
93 "tough-cookie": "^4.1.3"
94 }
95 },
96 "dependencies": {
97 "@mikro-orm/core": "^5.8.7",
98 "@mikro-orm/mariadb": "^5.8.7",
99 "@mikro-orm/reflection": "^5.8.7",
100 "@mikro-orm/sqlite": "^5.8.7",
101 "ajv": "^8.12.0",
102 "ajv-formats": "^2.1.1",
103 "basic-ftp": "^5.0.3",
104 "chalk": "^5.3.0",
105 "date-fns": "^2.30.0",
106 "http-status-codes": "^2.3.0",
107 "just-merge": "^3.2.0",
108 "logform": "^2.5.1",
109 "mnemonist": "^0.39.5",
110 "mongodb": "^6.1.0",
111 "poolifier": "^3.0.0",
112 "source-map-support": "^0.5.21",
113 "tar": "^6.2.0",
114 "tslib": "^2.6.2",
115 "winston": "^3.11.0",
116 "winston-daily-rotate-file": "^4.7.1",
117 "ws": "^8.14.2"
118 },
119 "optionalDependencies": {
120 "bufferutil": "^4.0.7",
121 "utf-8-validate": "^6.0.3"
122 },
123 "devDependencies": {
124 "@commitlint/cli": "^17.7.2",
125 "@commitlint/config-conventional": "^17.7.0",
126 "@mikro-orm/cli": "^5.8.7",
127 "@release-it/bumper": "^5.1.0",
128 "@rollup/plugin-json": "^6.0.1",
129 "@rollup/plugin-terser": "^0.4.4",
130 "@rollup/plugin-typescript": "^11.1.5",
131 "@types/node": "^20.8.4",
132 "@types/sinon": "^10.0.19",
133 "@types/tar": "^6.1.6",
134 "@types/ws": "^8.5.6",
135 "@typescript-eslint/eslint-plugin": "^6.7.5",
136 "@typescript-eslint/parser": "^6.7.4",
137 "@web/rollup-plugin-copy": "^0.4.0",
138 "auto-changelog": "^2.4.0",
139 "c8": "^8.0.1",
140 "clinic": "^13.0.0",
141 "cross-env": "^7.0.3",
142 "eslint": "^8.51.0",
143 "eslint-config-prettier": "^9.0.0",
144 "eslint-import-resolver-typescript": "^3.6.1",
145 "eslint-plugin-import": "^2.28.1",
146 "eslint-plugin-jsdoc": "^46.8.2",
147 "eslint-plugin-n": "^16.1.0",
148 "eslint-plugin-prettier": "^5.0.0",
149 "eslint-plugin-tsdoc": "^0.2.17",
150 "expect": "^29.7.0",
151 "glob": "^10.3.10",
152 "husky": "^8.0.3",
153 "lint-staged": "^14.0.1",
154 "prettier": "^3.0.3",
155 "release-it": "^16.2.1",
156 "rimraf": "^5.0.5",
157 "rollup": "^4.0.2",
158 "rollup-plugin-analyzer": "^4.0.0",
159 "rollup-plugin-delete": "^2.0.0",
160 "semver": "^7.5.4",
161 "sinon": "^16.1.0",
162 "ts-node": "^10.9.1",
163 "tsx": "^3.13.0",
164 "typescript": "~5.2.2"
165 }
166 }