2bfd772e1069abadf9e30f9dda494099289a0947
[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.7",
5 "engines": {
6 "node": ">=18.18.0",
7 "pnpm": ">=9.0.0"
8 },
9 "volta": {
10 "node": "22.4.0",
11 "pnpm": "9.4.0"
12 },
13 "packageManager": "pnpm@9.4.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 "mikro-orm": {
45 "tsConfigPath": "./tsconfig-mikro-orm.json",
46 "useTsNode": true
47 },
48 "scripts": {
49 "prepare": "node prepare.js",
50 "build-requirements": "node --no-warnings build-requirements.js",
51 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
52 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
53 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
54 "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
55 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
56 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
57 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
58 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
59 "esbuild": "pnpm build-requirements && node bundle.js",
60 "build": "pnpm esbuild",
61 "build:dev": "cross-env BUILD=development pnpm esbuild",
62 "build:cf": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
63 "build:cf:dev": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
64 "build:entities": "tsc -p tsconfig-mikro-orm.json",
65 "clean:dist": "pnpm exec rimraf dist",
66 "clean:node_modules": "pnpm exec rimraf node_modules",
67 "lint": "cross-env TIMING=1 eslint --cache src tests ./*.cjs ./*.js ./*.ts",
68 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests ./*.cjs ./*.js ./*.ts",
69 "format": "prettier --cache --write .; eslint --cache --fix src tests ./*.cjs ./*.js ./*.ts",
70 "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
71 "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
72 "coverage": "c8 report --reporter=lcov",
73 "coverage:html": "c8 report --reporter=html",
74 "clinic:clean": "clinic clean"
75 },
76 "pnpm": {
77 "overrides": {
78 "cacheable-request": "^10.2.10",
79 "d3-color": "^3.1.0",
80 "ejs": "^3.1.9",
81 "got": "^12.6.1",
82 "semver": "^7.5.3",
83 "uuid": "^9.0.0",
84 "tough-cookie": "^4.1.3"
85 }
86 },
87 "dependencies": {
88 "@mikro-orm/core": "^6.2.9",
89 "@mikro-orm/mariadb": "^6.2.9",
90 "@mikro-orm/reflection": "^6.2.9",
91 "@mikro-orm/sqlite": "^6.2.9",
92 "ajv": "^8.16.0",
93 "ajv-formats": "^3.0.1",
94 "basic-ftp": "^5.0.5",
95 "chalk": "^5.3.0",
96 "date-fns": "^3.6.0",
97 "http-status-codes": "^2.3.0",
98 "logform": "^2.6.0",
99 "mnemonist": "0.40.0-rc1",
100 "mongodb": "^6.8.0",
101 "poolifier": "^4.0.15",
102 "rambda": "^9.2.1",
103 "tar": "^7.4.0",
104 "winston": "^3.13.0",
105 "winston-daily-rotate-file": "^5.0.0",
106 "ws": "^8.18.0"
107 },
108 "optionalDependencies": {
109 "bufferutil": "^4.0.8",
110 "utf-8-validate": "^6.0.4"
111 },
112 "devDependencies": {
113 "@commitlint/cli": "^19.3.0",
114 "@commitlint/config-conventional": "^19.2.2",
115 "@mikro-orm/cli": "^6.2.9",
116 "@types/node": "^20.14.9",
117 "@types/semver": "^7.5.8",
118 "@types/ws": "^8.5.10",
119 "@typescript-eslint/eslint-plugin": "^7.15.0",
120 "@typescript-eslint/parser": "^7.15.0",
121 "c8": "^10.1.2",
122 "clinic": "^13.0.0",
123 "cross-env": "^7.0.3",
124 "esbuild": "^0.23.0",
125 "esbuild-plugin-clean": "^1.0.1",
126 "esbuild-plugin-copy": "^2.1.1",
127 "eslint": "^8.57.0",
128 "eslint-config-love": "^47.0.0",
129 "eslint-config-standard": "^17.1.0",
130 "eslint-define-config": "^2.1.0",
131 "eslint-import-resolver-typescript": "^3.6.1",
132 "eslint-plugin-import": "^2.29.1",
133 "eslint-plugin-jsdoc": "^48.5.0",
134 "eslint-plugin-n": "^17.9.0",
135 "eslint-plugin-simple-import-sort": "^12.1.1",
136 "eslint-plugin-tsdoc": "^0.3.0",
137 "expect": "^29.7.0",
138 "glob": "^10.4.2",
139 "husky": "^9.0.11",
140 "lint-staged": "^15.2.7",
141 "prettier": "^3.3.2",
142 "rimraf": "^5.0.7",
143 "semver": "^7.6.2",
144 "ts-node": "^10.9.2",
145 "tsx": "^4.16.2",
146 "typescript": "~5.5.3"
147 }
148 }