chore(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
beb235d6 2 "$schema": "https://json.schemastore.org/package",
7f774a55 3 "name": "e-mobility-charging-stations-simulator",
03f61f60 4 "version": "1.4.2",
7dde0b73 5 "engines": {
1a6188b2 6 "node": ">=18.18.0",
6eddb719 7 "pnpm": ">=9.0.0"
7dde0b73 8 },
8f074ebf 9 "volta": {
21206594
JB
10 "node": "22.4.1",
11 "pnpm": "9.5.0"
8f074ebf 12 },
21206594 13 "packageManager": "pnpm@9.5.0",
7dde0b73
JB
14 "repository": {
15 "type": "git",
7f774a55 16 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
7dde0b73 17 },
e6159ce8 18 "description": "Electric vehicle charging stations simulator",
68250247 19 "author": "SAP E-Mobility <e-mobility@sap.com>",
0215fd14
JB
20 "keywords": [
21 "ocpp",
22 "ocpp-j",
23 "ocpp1.6",
24 "ocpp2.0",
25 "charging station",
26 "load testing"
27 ],
4160581a
JB
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 ],
7dde0b73
JB
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 ],
92ce5473 42 "type": "module",
f3f07945 43 "exports": "./dist/start.js",
ae8ee665 44 "mikro-orm": {
1552a666 45 "tsConfigPath": "./tsconfig-mikro-orm.json",
ae8ee665
JB
46 "useTsNode": true
47 },
7dde0b73 48 "scripts": {
b0c4f887 49 "prepare": "node prepare.js",
456b7f2d 50 "build-requirements": "node build-requirements.js",
08164562 51 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
d60bc09d
JB
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",
44ebef4c
JB
59 "esbuild": "pnpm build-requirements && node bundle.js",
60 "build": "pnpm esbuild",
44ebef4c 61 "build:dev": "cross-env BUILD=development pnpm esbuild",
e1486a4c
JB
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",
1552a666 64 "build:entities": "tsc -p tsconfig-mikro-orm.json",
e1486a4c
JB
65 "clean:dist": "pnpm exec rimraf dist",
66 "clean:node_modules": "pnpm exec rimraf node_modules",
d1f5bfd8
JB
67 "lint": "cross-env TIMING=1 eslint --cache src tests ./*.js ./*.ts",
68 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests ./*.js ./*.ts",
69 "format": "prettier --cache --write .; eslint --cache --fix src tests ./*.js ./*.ts",
563a5165
JB
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\"",
12240a2e
JB
72 "coverage": "c8 report --reporter=lcov",
73 "coverage:html": "c8 report --reporter=html",
f6e18e33 74 "clinic:clean": "clinic clean",
bf25e531 75 "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && cp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2"
7dde0b73 76 },
a4e5c2e2
JB
77 "pnpm": {
78 "overrides": {
64378b5e 79 "cacheable-request": "^10.2.10",
a4e5c2e2 80 "d3-color": "^3.1.0",
64378b5e 81 "ejs": "^3.1.9",
80e9ca9d 82 "got": "^12.6.1",
d517f61a 83 "semver": "^7.5.3",
2863f68f 84 "uuid": "^9.0.0",
d517f61a 85 "tough-cookie": "^4.1.3"
a4e5c2e2 86 }
db64a53b 87 },
7dde0b73 88 "dependencies": {
4ed43d28
JB
89 "@mikro-orm/core": "^6.2.9",
90 "@mikro-orm/mariadb": "^6.2.9",
91 "@mikro-orm/reflection": "^6.2.9",
92 "@mikro-orm/sqlite": "^6.2.9",
2aad4b9d 93 "ajv": "^8.17.1",
80af2766 94 "ajv-formats": "^3.0.1",
22af77b3 95 "basic-ftp": "^5.0.5",
03e9d277 96 "chalk": "^5.3.0",
aa711e39 97 "date-fns": "^3.6.0",
6b442d92 98 "http-status-codes": "^2.3.0",
91994a8e 99 "logform": "^2.6.1",
e80de0da 100 "mnemonist": "0.40.0-rc1",
a6fac14d 101 "mongodb": "^6.8.0",
87d2b497 102 "poolifier": "^4.0.18",
12c0935b 103 "rambda": "^9.2.1",
a79c81af 104 "tar": "^7.4.0",
91994a8e 105 "winston": "^3.13.1",
b0211498 106 "winston-daily-rotate-file": "^5.0.0",
4119c6ed 107 "ws": "^8.18.0"
7dde0b73 108 },
3d337bdb 109 "optionalDependencies": {
4cb190b6 110 "bufferutil": "^4.0.8",
1f851da6 111 "utf-8-validate": "^6.0.4"
3d337bdb 112 },
7dde0b73 113 "devDependencies": {
04b885f0 114 "@commitlint/cli": "^19.3.0",
5b7bbdba 115 "@commitlint/config-conventional": "^19.2.2",
d1f5bfd8 116 "@eslint/js": "^9.7.0",
4ed43d28 117 "@mikro-orm/cli": "^6.2.9",
3ecfcc6c 118 "@types/node": "^20.14.11",
9ed96ef8 119 "@types/semver": "^7.5.8",
2aad4b9d 120 "@types/ws": "^8.5.11",
a6a928b1 121 "c8": "^10.1.2",
08921fbb 122 "clinic": "^13.0.0",
93b6750e 123 "cross-env": "^7.0.3",
7f6b56b5 124 "esbuild": "^0.23.0",
44ebef4c
JB
125 "esbuild-plugin-clean": "^1.0.1",
126 "esbuild-plugin-copy": "^2.1.1",
d1f5bfd8 127 "eslint": "^9.7.0",
66a7748d 128 "eslint-define-config": "^2.1.0",
1a12a400 129 "eslint-plugin-jsdoc": "^48.7.0",
a33e3b41 130 "eslint-plugin-simple-import-sort": "^12.1.1",
3810892e 131 "expect": "^29.7.0",
cff23bd9 132 "glob": "^11.0.0",
d0b788a5 133 "husky": "^9.1.1",
a6a928b1 134 "lint-staged": "^15.2.7",
a743807e 135 "neostandard": "^0.11.1",
61cf98de 136 "prettier": "^3.3.3",
1a12a400 137 "rimraf": "^6.0.1",
3ecfcc6c 138 "semver": "^7.6.3",
66a7748d 139 "ts-node": "^10.9.2",
e92bd991 140 "tsx": "^4.16.2",
6537ae8f 141 "typescript": "~5.5.3"
7dde0b73
JB
142 }
143}