build(simulator): don't preserve modules
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "name": "e-mobility-charging-stations-simulator",
3 "version": "1.2.13",
4 "engines": {
5 "node": ">=16.9.0",
6 "pnpm": ">=8.0.0"
7 },
8 "volta": {
9 "node": "20.2.0",
10 "pnpm": "8.5.1"
11 },
12 "repository": {
13 "type": "git",
14 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
15 },
16 "description": "Electric vehicle charging stations simulator",
17 "author": "SAP E-Mobility <e-mobility@sap.com>",
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 ],
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 ],
32 "type": "module",
33 "exports": [
34 "./dist/start.js"
35 ],
36 "auto-changelog": {
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}"
41 },
42 "mikro-orm": {
43 "tsConfigPath": "./tsconfig-orm.json",
44 "useTsNode": true
45 },
46 "scripts": {
47 "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
48 "prepare": "node prepare.cjs",
49 "build-requirements": "node --no-warnings build-requirements.mjs",
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",
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",
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",
64 "clean:dist": "npx rimraf dist",
65 "clean:node_modules": "npx rimraf node_modules",
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",
68 "format": "prettier --cache --write .",
69 "test": "c8 mocha test/**/*Test.ts",
70 "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts",
71 "coverage": "c8 report --reporter=lcov",
72 "coverage:html": "c8 report --reporter=html",
73 "clinic:clean": "clinic clean",
74 "robohydra": "robohydra test/robohydra/config.json",
75 "git:sinit": "git submodule update --init --recursive --force",
76 "git:sdiff": "git diff && git submodule foreach 'git diff'",
77 "git:supdate": "git submodule update --remote --recursive --merge",
78 "git:spush": "git push --recurse-submodules=on-demand",
79 "release": "release-it"
80 },
81 "overrides": {
82 "cacheable-request": "^10.2.7",
83 "d3-color": "^3.1.0"
84 },
85 "dependencies": {
86 "@mikro-orm/core": "^5.7.7",
87 "@mikro-orm/mariadb": "^5.7.7",
88 "@mikro-orm/reflection": "^5.7.7",
89 "@mikro-orm/sqlite": "^5.7.7",
90 "ajv": "^8.12.0",
91 "ajv-formats": "^2.1.1",
92 "basic-ftp": "^5.0.3",
93 "chalk": "^5.2.0",
94 "http-status-codes": "^2.2.0",
95 "just-clone": "^6.2.0",
96 "just-merge": "^3.2.0",
97 "logform": "^2.5.1",
98 "mnemonist": "^0.39.5",
99 "moment": "^2.29.4",
100 "mongodb": "^5.5.0",
101 "poolifier": "^2.4.14",
102 "source-map-support": "^0.5.21",
103 "tar": "^6.1.15",
104 "tslib": "^2.5.2",
105 "winston": "^3.8.2",
106 "winston-daily-rotate-file": "^4.7.1",
107 "ws": "^8.13.0"
108 },
109 "optionalDependencies": {
110 "bufferutil": "^4.0.7",
111 "utf-8-validate": "^6.0.3"
112 },
113 "devDependencies": {
114 "@commitlint/cli": "^17.6.3",
115 "@commitlint/config-conventional": "^17.6.3",
116 "@mikro-orm/cli": "^5.7.7",
117 "@release-it/bumper": "^4.0.2",
118 "@rollup/plugin-json": "^6.0.0",
119 "@rollup/plugin-terser": "^0.4.3",
120 "@rollup/plugin-typescript": "^11.1.1",
121 "@types/mocha": "^10.0.1",
122 "@types/mochawesome": "^6.2.1",
123 "@types/node": "^20.2.1",
124 "@types/sinon": "^10.0.15",
125 "@types/tar": "^6.1.5",
126 "@types/ws": "^8.5.4",
127 "@typescript-eslint/eslint-plugin": "^5.59.6",
128 "@typescript-eslint/parser": "^5.59.6",
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.40.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": "^44.2.4",
138 "eslint-plugin-n": "^16.0.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.2",
144 "mocha": "^10.2.0",
145 "mochawesome": "^7.1.3",
146 "prettier": "^2.8.8",
147 "release-it": "^15.10.3",
148 "rimraf": "^5.0.1",
149 "robohydra": "^0.6.9",
150 "rollup": "^3.22.0",
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.1",
155 "sinon": "^15.1.0",
156 "ts-node": "^10.9.1",
157 "typescript": "^5.0.4"
158 }
159 }