e9b5ad471d264dc901c577882ef0841205606f3a
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "name": "e-mobility-charging-stations-simulator",
3 "version": "1.2.10",
4 "engines": {
5 "node": ">=16.9.0",
6 "pnpm": ">= 8.0.0"
7 },
8 "volta": {
9 "node": "20.0.0"
10 },
11 "repository": {
12 "type": "git",
13 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
14 },
15 "description": "Electric vehicle charging stations simulator",
16 "author": "SAP E-Mobility <e-mobility@sap.com>",
17 "contributors": [
18 {
19 "name": "Jérôme Benoit",
20 "email": "jerome.benoit@piment-noir.org",
21 "url": "https://github.com/jerome-benoit"
22 }
23 ],
24 "license": "Apache-2.0",
25 "licenses": [
26 {
27 "type": "Apache-2.0",
28 "url": "http://www.apache.org/licenses/LICENSE-2.0"
29 }
30 ],
31 "type": "module",
32 "exports": [
33 "./dist/start.mjs"
34 ],
35 "auto-changelog": {
36 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
37 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
38 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
39 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
40 },
41 "mikro-orm": {
42 "tsConfigPath": "./tsconfig-orm.json",
43 "useTsNode": true
44 },
45 "scripts": {
46 "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
47 "prepare": "node prepare.cjs",
48 "build-requirements": "node --no-warnings build-requirements.mjs",
49 "start": "pnpm build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.mjs",
50 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs",
51 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.mjs",
52 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.mjs",
53 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.mjs",
54 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.mjs",
55 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.mjs",
56 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.mjs",
57 "rollup": "pnpm build-requirements && rollup --config",
58 "build": "pnpm rollup",
59 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
60 "build:dev": "pnpm rollup -- --environment BUILD:development",
61 "build:dev:watch": "pnpm rollup -- --environment BUILD:development --watch",
62 "clean:dist": "npx rimraf dist",
63 "clean:node_modules": "npx rimraf node_modules",
64 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src",
65 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src",
66 "format": "prettier --cache --write .",
67 "test": "c8 mocha test/**/*Test.ts",
68 "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts",
69 "coverage": "c8 report --reporter=lcov",
70 "coverage:html": "c8 report --reporter=html",
71 "clinic:clean": "clinic clean",
72 "robohydra": "robohydra test/robohydra/config.json",
73 "git:sinit": "git submodule update --init --recursive --force",
74 "git:sdiff": "git diff && git submodule foreach 'git diff'",
75 "git:supdate": "git submodule update --remote --recursive --merge",
76 "git:spush": "git push --recurse-submodules=on-demand",
77 "release": "release-it"
78 },
79 "overrides": {
80 "cacheable-request": "^10.2.7",
81 "d3-color": "^3.1.0"
82 },
83 "dependencies": {
84 "@mikro-orm/core": "^5.6.16",
85 "@mikro-orm/mariadb": "^5.6.16",
86 "@mikro-orm/reflection": "^5.6.16",
87 "@mikro-orm/sqlite": "^5.6.16",
88 "ajv": "^8.12.0",
89 "ajv-formats": "^2.1.1",
90 "basic-ftp": "^5.0.2",
91 "chalk": "^5.2.0",
92 "http-status-codes": "^2.2.0",
93 "just-clone": "^6.2.0",
94 "just-merge": "^3.2.0",
95 "logform": "^2.5.1",
96 "mnemonist": "^0.39.5",
97 "moment": "^2.29.4",
98 "mongodb": "^5.3.0",
99 "poolifier": "^2.4.11",
100 "proper-lockfile": "^4.1.2",
101 "source-map-support": "^0.5.21",
102 "tar": "^6.1.13",
103 "tslib": "^2.5.0",
104 "winston": "^3.8.2",
105 "winston-daily-rotate-file": "^4.7.1",
106 "ws": "^8.13.0"
107 },
108 "optionalDependencies": {
109 "bufferutil": "^4.0.7",
110 "utf-8-validate": "^6.0.3"
111 },
112 "devDependencies": {
113 "@commitlint/cli": "^17.6.1",
114 "@commitlint/config-conventional": "^17.6.1",
115 "@mikro-orm/cli": "^5.6.16",
116 "@release-it/bumper": "^4.0.2",
117 "@rollup/plugin-json": "^6.0.0",
118 "@rollup/plugin-terser": "^0.4.1",
119 "@rollup/plugin-typescript": "^11.1.0",
120 "@types/mocha": "^10.0.1",
121 "@types/mochawesome": "^6.2.1",
122 "@types/node": "^18.16.0",
123 "@types/proper-lockfile": "^4.1.2",
124 "@types/sinon": "^10.0.14",
125 "@types/tar": "^6.1.4",
126 "@types/ws": "^8.5.4",
127 "@typescript-eslint/eslint-plugin": "^5.59.0",
128 "@typescript-eslint/parser": "^5.59.0",
129 "auto-changelog": "^2.4.0",
130 "c8": "^7.13.0",
131 "clinic": "^12.1.0",
132 "cross-env": "^7.0.3",
133 "eslint": "^8.39.0",
134 "eslint-config-prettier": "^8.8.0",
135 "eslint-import-resolver-typescript": "^3.5.5",
136 "eslint-plugin-import": "^2.27.5",
137 "eslint-plugin-jsdoc": "^43.0.7",
138 "eslint-plugin-n": "^15.7.0",
139 "eslint-plugin-prettier": "^4.2.1",
140 "eslint-plugin-tsdoc": "^0.2.17",
141 "expect": "^29.5.0",
142 "husky": "^8.0.3",
143 "lint-staged": "^13.2.1",
144 "mocha": "^10.2.0",
145 "mochawesome": "^7.1.3",
146 "prettier": "^2.8.8",
147 "release-it": "^15.10.1",
148 "rimraf": "^5.0.0",
149 "robohydra": "^0.6.9",
150 "rollup": "^3.20.7",
151 "rollup-plugin-analyzer": "^4.0.0",
152 "rollup-plugin-copy": "^3.4.0",
153 "rollup-plugin-delete": "^2.0.0",
154 "semver": "^7.5.0",
155 "sinon": "^15.0.4",
156 "ts-node": "^10.9.1",
157 "typescript": "^5.0.4"
158 }
159 }