build(simulator): cleanup TS configuration
[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",
c1120092 4 "version": "1.2.20",
7dde0b73 5 "engines": {
962a8159 6 "node": ">=16.14.0",
5f0a7b0d 7 "pnpm": ">=8.6.0"
7dde0b73 8 },
8f074ebf 9 "volta": {
ae18d8f8 10 "node": "20.5.1",
ad59c9e2 11 "pnpm": "8.7.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": {
a90bec52 56 "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
92ce5473 57 "prepare": "node prepare.cjs",
653b69b4 58 "build-requirements": "node --no-warnings build-requirements.mjs",
bdc9dc79 59 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
51022aa0
JB
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",
c7f157db
JB
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",
51022aa0
JB
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",
e592ba1d
JB
73 "clean:dist": "npx rimraf dist",
74 "clean:node_modules": "npx rimraf node_modules",
95f74dfb
JB
75 "lint": "cross-env TIMING=1 eslint --cache src",
76 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
e60a5ba3 77 "format": "prettier --cache --write .",
d4ad9d45
JB
78 "test": "c8 mocha test/**/*.test.ts",
79 "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts",
12240a2e
JB
80 "coverage": "c8 report --reporter=lcov",
81 "coverage:html": "c8 report --reporter=html",
7dde0b73 82 "clinic:clean": "clinic clean",
47e22477 83 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 84 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 85 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 86 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 87 "git:spush": "git push --recurse-submodules=on-demand",
cedae80d 88 "release": "release-it"
7dde0b73 89 },
a4e5c2e2
JB
90 "pnpm": {
91 "overrides": {
64378b5e 92 "cacheable-request": "^10.2.10",
a4e5c2e2 93 "d3-color": "^3.1.0",
64378b5e 94 "ejs": "^3.1.9",
80e9ca9d 95 "got": "^12.6.1",
d517f61a
JB
96 "semver": "^7.5.3",
97 "tough-cookie": "^4.1.3"
a4e5c2e2 98 }
db64a53b 99 },
7dde0b73 100 "dependencies": {
3548c67b
JB
101 "@mikro-orm/core": "^5.7.14",
102 "@mikro-orm/mariadb": "^5.7.14",
103 "@mikro-orm/reflection": "^5.7.14",
104 "@mikro-orm/sqlite": "^5.7.14",
bbe10d5f 105 "ajv": "^8.12.0",
e3018bc4 106 "ajv-formats": "^2.1.1",
08049dfd 107 "basic-ftp": "^5.0.3",
03e9d277 108 "chalk": "^5.3.0",
a675e34b 109 "date-fns": "^2.30.0",
32f5e42d 110 "deep-clone": "^4.0.0",
1f7fa4de 111 "http-status-codes": "^2.2.0",
088ee3c1 112 "just-merge": "^3.2.0",
5a2a53cf 113 "logform": "^2.5.1",
4a5a7863 114 "mnemonist": "^0.39.5",
dcae3b30 115 "mongodb": "^5.8.1",
f9b1a5ae 116 "poolifier": "^2.6.36",
1dc29974 117 "source-map-support": "^0.5.21",
7e4b5b38 118 "tar": "^6.1.15",
bca45810 119 "tslib": "^2.6.2",
3e8d029b 120 "winston": "^3.10.0",
2820900f 121 "winston-daily-rotate-file": "^4.7.1",
ab9c8862 122 "ws": "^8.13.0"
7dde0b73 123 },
3d337bdb 124 "optionalDependencies": {
ef85c95a 125 "bufferutil": "^4.0.7",
d994fe7c 126 "utf-8-validate": "^6.0.3"
3d337bdb 127 },
7dde0b73 128 "devDependencies": {
061ff2b0 129 "@commitlint/cli": "^17.7.1",
b1af7ec9 130 "@commitlint/config-conventional": "^17.7.0",
3548c67b 131 "@mikro-orm/cli": "^5.7.14",
b5ef1485 132 "@release-it/bumper": "^5.1.0",
b78290ea 133 "@rollup/plugin-json": "^6.0.0",
7e4b5b38 134 "@rollup/plugin-terser": "^0.4.3",
e864dfab 135 "@rollup/plugin-typescript": "^11.1.3",
f704ec19 136 "@types/mocha": "^10.0.1",
47e22477 137 "@types/mochawesome": "^6.2.1",
440850e1 138 "@types/node": "^20.5.6",
60354605 139 "@types/sinon": "^10.0.16",
f682b2dc 140 "@types/tar": "^6.1.5",
20770557 141 "@types/ws": "^8.5.5",
6a1268bb
JB
142 "@typescript-eslint/eslint-plugin": "^6.4.1",
143 "@typescript-eslint/parser": "^6.4.1",
672551ed 144 "@web/rollup-plugin-copy": "^0.4.0",
6e19d740 145 "auto-changelog": "^2.4.0",
20561f78 146 "c8": "^8.0.1",
08921fbb 147 "clinic": "^13.0.0",
93b6750e 148 "cross-env": "^7.0.3",
a8118b9d 149 "eslint": "^8.48.0",
24a27d1b 150 "eslint-config-prettier": "^9.0.0",
b1af7ec9 151 "eslint-import-resolver-typescript": "^3.6.0",
bca45810 152 "eslint-plugin-import": "^2.28.1",
bf84730b 153 "eslint-plugin-jsdoc": "^46.5.0",
78ec5d6f 154 "eslint-plugin-n": "^16.0.2",
5edd8ba0 155 "eslint-plugin-prettier": "^5.0.0",
0e4fa348 156 "eslint-plugin-tsdoc": "^0.2.17",
440850e1 157 "expect": "^29.6.4",
bbe10d5f 158 "husky": "^8.0.3",
bf84730b 159 "lint-staged": "^14.0.1",
d439da5c 160 "mocha": "^10.2.0",
39dca63f 161 "mochawesome": "^7.1.3",
59c6a236 162 "prettier": "^3.0.2",
57f518ed 163 "release-it": "^16.1.5",
064d000b 164 "rimraf": "^5.0.1",
47e22477 165 "robohydra": "^0.6.9",
78ec5d6f 166 "rollup": "^3.28.1",
cb1948a3 167 "rollup-plugin-analyzer": "^4.0.0",
44b07a21 168 "rollup-plugin-delete": "^2.0.0",
43ef86a2 169 "semver": "^7.5.4",
2b080fa6 170 "sinon": "^15.2.0",
9090050f 171 "ts-node": "^10.9.1",
440850e1 172 "typescript": "^5.2.2"
7dde0b73
JB
173 }
174}