build(deps): 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.2",
5 "engines": {
6 "node": ">=18.18.0",
7 "pnpm": ">=9.0.0"
8 },
9 "volta": {
10 "node": "22.0.0",
11 "pnpm": "9.0.6"
12 },
13 "packageManager": "pnpm@9.0.6",
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 && 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.2.2",
96 "@mikro-orm/mariadb": "^6.2.2",
97 "@mikro-orm/reflection": "^6.2.2",
98 "@mikro-orm/sqlite": "^6.2.2",
99 "ajv": "^8.12.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.5.0",
108 "poolifier": "^3.1.30",
109 "rambda": "^9.2.0",
110 "tar": "^7.0.1",
111 "winston": "^3.13.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.3.0",
121 "@commitlint/config-conventional": "^19.2.2",
122 "@mikro-orm/cli": "^6.2.2",
123 "@release-it/bumper": "^6.0.1",
124 "@types/node": "^20.12.7",
125 "@types/semver": "^7.5.8",
126 "@types/ws": "^8.5.10",
127 "@typescript-eslint/eslint-plugin": "^7.7.1",
128 "@typescript-eslint/parser": "^7.7.1",
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.20.2",
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.3",
143 "eslint-plugin-n": "^17.3.1",
144 "eslint-plugin-simple-import-sort": "^12.1.0",
145 "eslint-plugin-tsdoc": "^0.2.17",
146 "expect": "^29.7.0",
147 "glob": "^10.3.12",
148 "husky": "^9.0.11",
149 "lint-staged": "^15.2.2",
150 "prettier": "^3.2.5",
151 "release-it": "^17.2.0",
152 "rimraf": "^5.0.5",
153 "semver": "^7.6.0",
154 "ts-node": "^10.9.2",
155 "tsx": "^4.7.2",
156 "typescript": "~5.4.5"
157 }
158 }