Merge branch 'main' into issue39-ocpp2
[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.5",
5 "engines": {
6 "node": ">=18.18.0",
7 "pnpm": ">=9.0.0"
8 },
9 "volta": {
10 "node": "22.2.0",
11 "pnpm": "9.2.0"
12 },
13 "packageManager": "pnpm@9.2.0",
14 "repository": {
15 "type": "git",
16 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
17 },
18 "description": "Electric vehicle charging stations simulator",
19 "author": "SAP E-Mobility <e-mobility@sap.com>",
20 "keywords": [
21 "ocpp",
22 "ocpp-j",
23 "ocpp1.6",
24 "ocpp2.0",
25 "charging station",
26 "load testing"
27 ],
28 "contributors": [
29 {
30 "name": "Jérôme Benoit",
31 "email": "jerome.benoit@piment-noir.org",
32 "url": "https://github.com/jerome-benoit"
33 }
34 ],
35 "license": "Apache-2.0",
36 "licenses": [
37 {
38 "type": "Apache-2.0",
39 "url": "http://www.apache.org/licenses/LICENSE-2.0"
40 }
41 ],
42 "type": "module",
43 "exports": "./dist/start.js",
44 "auto-changelog": {
45 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
46 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
47 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
48 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
49 },
50 "mikro-orm": {
51 "tsConfigPath": "./tsconfig-mikro-orm.json",
52 "useTsNode": true
53 },
54 "scripts": {
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 && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
69 "build:cf:dev": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
70 "build:entities": "tsc -p tsconfig-mikro-orm.json",
71 "clean:dist": "pnpm exec rimraf dist",
72 "clean:node_modules": "pnpm exec rimraf node_modules",
73 "lint": "cross-env TIMING=1 eslint --cache src tests ./*.cjs ./*.js ./*.ts",
74 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests ./*.cjs ./*.js ./*.ts",
75 "format": "prettier --cache --write .; eslint --cache --fix src tests ./*.cjs ./*.js ./*.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.2.9",
96 "@mikro-orm/mariadb": "^6.2.9",
97 "@mikro-orm/reflection": "^6.2.9",
98 "@mikro-orm/sqlite": "^6.2.9",
99 "ajv": "^8.16.0",
100 "ajv-formats": "^3.0.1",
101 "basic-ftp": "^5.0.5",
102 "chalk": "^5.3.0",
103 "date-fns": "^3.6.0",
104 "http-status-codes": "^2.3.0",
105 "logform": "^2.6.0",
106 "mnemonist": "0.40.0-rc1",
107 "mongodb": "^6.7.0",
108 "poolifier": "^4.0.13",
109 "rambda": "^9.2.0",
110 "tar": "^7.2.0",
111 "winston": "^3.13.0",
112 "winston-daily-rotate-file": "^5.0.0",
113 "ws": "^8.17.0"
114 },
115 "optionalDependencies": {
116 "bufferutil": "^4.0.8",
117 "utf-8-validate": "^6.0.4"
118 },
119 "devDependencies": {
120 "@commitlint/cli": "^19.3.0",
121 "@commitlint/config-conventional": "^19.2.2",
122 "@mikro-orm/cli": "^6.2.9",
123 "@release-it/bumper": "^6.0.1",
124 "@types/node": "^20.14.2",
125 "@types/semver": "^7.5.8",
126 "@types/ws": "^8.5.10",
127 "@typescript-eslint/eslint-plugin": "^7.12.0",
128 "@typescript-eslint/parser": "^7.12.0",
129 "auto-changelog": "^2.4.0",
130 "c8": "^9.1.0",
131 "clinic": "^13.0.0",
132 "cross-env": "^7.0.3",
133 "esbuild": "^0.21.4",
134 "esbuild-plugin-clean": "^1.0.1",
135 "esbuild-plugin-copy": "^2.1.1",
136 "eslint": "^8.57.0",
137 "eslint-config-love": "^47.0.0",
138 "eslint-config-standard": "^17.1.0",
139 "eslint-define-config": "^2.1.0",
140 "eslint-import-resolver-typescript": "^3.6.1",
141 "eslint-plugin-import": "^2.29.1",
142 "eslint-plugin-jsdoc": "^48.2.9",
143 "eslint-plugin-n": "^17.8.1",
144 "eslint-plugin-simple-import-sort": "^12.1.0",
145 "eslint-plugin-tsdoc": "^0.3.0",
146 "expect": "^29.7.0",
147 "glob": "^10.4.1",
148 "husky": "^9.0.11",
149 "lint-staged": "^15.2.5",
150 "prettier": "^3.3.1",
151 "release-it": "^17.3.0",
152 "rimraf": "^5.0.7",
153 "semver": "^7.6.2",
154 "ts-node": "^10.9.2",
155 "tsx": "^4.15.1",
156 "typescript": "~5.4.5"
157 }
158 }