build(deps-dev): apply updates
[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.3.0",
5 "engines": {
6 "node": ">=18.18.0",
7 "pnpm": ">=8.6.0"
8 },
9 "volta": {
10 "node": "20.11.1",
11 "pnpm": "8.15.4"
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": "./dist/start.js",
43 "auto-changelog": {
44 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
45 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
46 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
47 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
48 },
49 "mikro-orm": {
50 "tsConfigPath": "./tsconfig-mikro-orm.json",
51 "useTsNode": true
52 },
53 "scripts": {
54 "preinstall": "node skip-preinstall.js || npx --yes only-allow pnpm",
55 "prepare": "node prepare.js",
56 "build-requirements": "node --no-warnings build-requirements.js",
57 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
58 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
59 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
60 "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
61 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
62 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
63 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
64 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
65 "esbuild": "pnpm build-requirements && node bundle.js",
66 "build": "pnpm esbuild",
67 "build:dev": "cross-env BUILD=development pnpm esbuild",
68 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
69 "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
70 "build:entities": "tsc -p tsconfig-mikro-orm.json",
71 "clean:dist": "npx rimraf dist",
72 "clean:node_modules": "npx rimraf node_modules",
73 "lint": "cross-env TIMING=1 eslint --cache src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
74 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
75 "format": "prettier --cache --write .; eslint --cache --fix src .eslintrc.cjs tests bundle.js mikro-orm.config-template.ts",
76 "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
77 "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
78 "coverage": "c8 report --reporter=lcov",
79 "coverage:html": "c8 report --reporter=html",
80 "clinic:clean": "clinic clean",
81 "release": "release-it"
82 },
83 "pnpm": {
84 "overrides": {
85 "cacheable-request": "^10.2.10",
86 "d3-color": "^3.1.0",
87 "ejs": "^3.1.9",
88 "got": "^12.6.1",
89 "semver": "^7.5.3",
90 "uuid": "^9.0.0",
91 "tough-cookie": "^4.1.3"
92 }
93 },
94 "dependencies": {
95 "@mikro-orm/core": "^6.1.9",
96 "@mikro-orm/mariadb": "^6.1.9",
97 "@mikro-orm/reflection": "^6.1.9",
98 "@mikro-orm/sqlite": "^6.1.9",
99 "ajv": "^8.12.0",
100 "ajv-formats": "^2.1.1",
101 "basic-ftp": "^5.0.5",
102 "chalk": "^5.3.0",
103 "date-fns": "^3.4.0",
104 "http-status-codes": "^2.3.0",
105 "logform": "^2.6.0",
106 "mnemonist": "0.40.0-rc1",
107 "mongodb": "^6.5.0",
108 "poolifier": "^3.1.21",
109 "rambda": "^9.1.0",
110 "tar": "^6.2.0",
111 "winston": "^3.12.0",
112 "winston-daily-rotate-file": "^5.0.0",
113 "ws": "^8.16.0"
114 },
115 "optionalDependencies": {
116 "bufferutil": "^4.0.8",
117 "utf-8-validate": "^6.0.3"
118 },
119 "devDependencies": {
120 "@commitlint/cli": "^19.0.3",
121 "@commitlint/config-conventional": "^19.0.3",
122 "@mikro-orm/cli": "^6.1.9",
123 "@release-it/bumper": "^6.0.1",
124 "@types/node": "^20.11.25",
125 "@types/semver": "^7.5.8",
126 "@types/tar": "^6.1.11",
127 "@types/ws": "^8.5.10",
128 "@typescript-eslint/eslint-plugin": "^7.2.0",
129 "@typescript-eslint/parser": "^7.2.0",
130 "auto-changelog": "^2.4.0",
131 "c8": "^9.1.0",
132 "clinic": "^13.0.0",
133 "cross-env": "^7.0.3",
134 "esbuild": "^0.20.1",
135 "esbuild-plugin-clean": "^1.0.1",
136 "esbuild-plugin-copy": "^2.1.1",
137 "eslint": "^8.57.0",
138 "eslint-config-standard": "^17.1.0",
139 "eslint-config-standard-with-typescript": "^43.0.1",
140 "eslint-define-config": "^2.1.0",
141 "eslint-import-resolver-typescript": "^3.6.1",
142 "eslint-plugin-import": "^2.29.1",
143 "eslint-plugin-jsdoc": "^48.2.1",
144 "eslint-plugin-n": "^16.6.2",
145 "eslint-plugin-simple-import-sort": "^12.0.0",
146 "eslint-plugin-tsdoc": "^0.2.17",
147 "expect": "^29.7.0",
148 "glob": "^10.3.10",
149 "husky": "^9.0.11",
150 "lint-staged": "^15.2.2",
151 "prettier": "^3.2.5",
152 "release-it": "^17.1.1",
153 "rimraf": "^5.0.5",
154 "semver": "^7.6.0",
155 "ts-node": "^10.9.2",
156 "tsx": "^4.7.1",
157 "typescript": "~5.4.2"
158 }
159 }