build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
7f774a55 2 "name": "e-mobility-charging-stations-simulator",
367f3950 3 "version": "1.2.16",
7dde0b73 4 "engines": {
962a8159 5 "node": ">=16.14.0",
5f0a7b0d 6 "pnpm": ">=8.6.0"
7dde0b73 7 },
8f074ebf 8 "volta": {
2b080fa6 9 "node": "20.3.1",
6790ada0 10 "pnpm": "8.6.5"
8f074ebf 11 },
7dde0b73
JB
12 "repository": {
13 "type": "git",
7f774a55 14 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
7dde0b73 15 },
e6159ce8 16 "description": "Electric vehicle charging stations simulator",
68250247 17 "author": "SAP E-Mobility <e-mobility@sap.com>",
4160581a
JB
18 "contributors": [
19 {
20 "name": "Jérôme Benoit",
21 "email": "jerome.benoit@piment-noir.org",
22 "url": "https://github.com/jerome-benoit"
23 }
24 ],
7dde0b73
JB
25 "license": "Apache-2.0",
26 "licenses": [
27 {
28 "type": "Apache-2.0",
29 "url": "http://www.apache.org/licenses/LICENSE-2.0"
30 }
31 ],
92ce5473 32 "type": "module",
db9b23ee 33 "exports": [
51022aa0 34 "./dist/start.js"
db9b23ee 35 ],
d22589b3 36 "auto-changelog": {
7f774a55
JB
37 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
38 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
39 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
40 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
d22589b3 41 },
ae8ee665 42 "mikro-orm": {
85c8a4cf 43 "tsConfigPath": "./tsconfig-orm.json",
ae8ee665
JB
44 "useTsNode": true
45 },
7dde0b73 46 "scripts": {
a90bec52 47 "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
92ce5473 48 "prepare": "node prepare.cjs",
653b69b4 49 "build-requirements": "node --no-warnings build-requirements.mjs",
51022aa0
JB
50 "start": "pnpm build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
51 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
52 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
53 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
54 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
55 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
56 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
57 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
c7f157db
JB
58 "rollup": "pnpm build-requirements && rollup --config",
59 "build": "pnpm rollup",
60 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
51022aa0
JB
61 "build:dev": "pnpm rollup --environment BUILD:development",
62 "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development",
63 "build:dev:watch": "pnpm rollup --environment BUILD:development --watch",
e592ba1d
JB
64 "clean:dist": "npx rimraf dist",
65 "clean:node_modules": "npx rimraf node_modules",
92ce5473
JB
66 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src",
67 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src",
e60a5ba3 68 "format": "prettier --cache --write .",
d4ad9d45
JB
69 "test": "c8 mocha test/**/*.test.ts",
70 "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts",
12240a2e
JB
71 "coverage": "c8 report --reporter=lcov",
72 "coverage:html": "c8 report --reporter=html",
7dde0b73 73 "clinic:clean": "clinic clean",
47e22477 74 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 75 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 76 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 77 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 78 "git:spush": "git push --recurse-submodules=on-demand",
cedae80d 79 "release": "release-it"
7dde0b73 80 },
a4e5c2e2
JB
81 "pnpm": {
82 "overrides": {
64378b5e 83 "cacheable-request": "^10.2.10",
a4e5c2e2 84 "d3-color": "^3.1.0",
64378b5e 85 "ejs": "^3.1.9",
8c4e450b 86 "got": "^12.6.0"
a4e5c2e2 87 }
db64a53b 88 },
7dde0b73 89 "dependencies": {
cc782174
JB
90 "@mikro-orm/core": "^5.7.12",
91 "@mikro-orm/mariadb": "^5.7.12",
92 "@mikro-orm/reflection": "^5.7.12",
93 "@mikro-orm/sqlite": "^5.7.12",
bbe10d5f 94 "ajv": "^8.12.0",
e3018bc4 95 "ajv-formats": "^2.1.1",
08049dfd 96 "basic-ftp": "^5.0.3",
653b69b4 97 "chalk": "^5.2.0",
1f7fa4de 98 "http-status-codes": "^2.2.0",
088ee3c1
JB
99 "just-clone": "^6.2.0",
100 "just-merge": "^3.2.0",
5a2a53cf 101 "logform": "^2.5.1",
4a5a7863 102 "mnemonist": "^0.39.5",
5b7a0892 103 "moment": "^2.29.4",
8baf3f8f 104 "mongodb": "^5.6.0",
6790ada0 105 "poolifier": "^2.6.5",
1dc29974 106 "source-map-support": "^0.5.21",
7e4b5b38 107 "tar": "^6.1.15",
6790ada0 108 "tslib": "^2.6.0",
eabbba95 109 "winston": "^3.9.0",
2820900f 110 "winston-daily-rotate-file": "^4.7.1",
ab9c8862 111 "ws": "^8.13.0"
7dde0b73 112 },
3d337bdb 113 "optionalDependencies": {
ef85c95a 114 "bufferutil": "^4.0.7",
d994fe7c 115 "utf-8-validate": "^6.0.3"
3d337bdb 116 },
7dde0b73 117 "devDependencies": {
2b080fa6
JB
118 "@commitlint/cli": "^17.6.6",
119 "@commitlint/config-conventional": "^17.6.6",
cc782174 120 "@mikro-orm/cli": "^5.7.12",
d4c84337 121 "@release-it/bumper": "^4.0.2",
b78290ea 122 "@rollup/plugin-json": "^6.0.0",
7e4b5b38 123 "@rollup/plugin-terser": "^0.4.3",
30624b18 124 "@rollup/plugin-typescript": "^11.1.2",
f704ec19 125 "@types/mocha": "^10.0.1",
47e22477 126 "@types/mochawesome": "^6.2.1",
6790ada0 127 "@types/node": "^20.3.2",
ff2521fc 128 "@types/sinon": "^10.0.15",
f682b2dc 129 "@types/tar": "^6.1.5",
20770557 130 "@types/ws": "^8.5.5",
6790ada0
JB
131 "@typescript-eslint/eslint-plugin": "^5.60.1",
132 "@typescript-eslint/parser": "^5.60.1",
672551ed 133 "@web/rollup-plugin-copy": "^0.4.0",
6e19d740 134 "auto-changelog": "^2.4.0",
349d5d26 135 "c8": "^8.0.0",
5a9d7452 136 "clinic": "^12.1.0",
93b6750e 137 "cross-env": "^7.0.3",
48d63418 138 "eslint": "^8.43.0",
62340a29 139 "eslint-config-prettier": "^8.8.0",
e88cc460 140 "eslint-import-resolver-typescript": "^3.5.5",
6db3502d 141 "eslint-plugin-import": "^2.27.5",
30624b18 142 "eslint-plugin-jsdoc": "^46.4.0",
42cdde9a 143 "eslint-plugin-n": "^16.0.1",
71828518 144 "eslint-plugin-prettier": "^4.2.1",
0e4fa348 145 "eslint-plugin-tsdoc": "^0.2.17",
61aad68d 146 "expect": "^29.5.0",
bbe10d5f 147 "husky": "^8.0.3",
30624b18 148 "lint-staged": "^13.2.3",
d439da5c 149 "mocha": "^10.2.0",
39dca63f 150 "mochawesome": "^7.1.3",
3742487d 151 "prettier": "^2.8.8",
d7dd5124 152 "release-it": "^15.11.0",
064d000b 153 "rimraf": "^5.0.1",
47e22477 154 "robohydra": "^0.6.9",
6790ada0 155 "rollup": "^3.25.3",
cb1948a3 156 "rollup-plugin-analyzer": "^4.0.0",
44b07a21 157 "rollup-plugin-delete": "^2.0.0",
2b080fa6
JB
158 "semver": "^7.5.3",
159 "sinon": "^15.2.0",
9090050f 160 "ts-node": "^10.9.1",
30624b18 161 "typescript": "^5.1.5"
7dde0b73
JB
162 }
163}