2 "$schema": "https://json.schemastore.org/package",
3 "name": "e-mobility-charging-stations-simulator",
13 "packageManager": "pnpm@9.14.2",
16 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
18 "description": "Electric vehicle charging stations simulator",
19 "author": "SAP E-Mobility <e-mobility@sap.com>",
30 "name": "Jérôme Benoit",
31 "email": "jerome.benoit@piment-noir.org",
32 "url": "https://github.com/jerome-benoit"
35 "license": "Apache-2.0",
39 "url": "http://www.apache.org/licenses/LICENSE-2.0"
43 "exports": "./dist/start.js",
45 "tsConfigPath": "./tsconfig-mikro-orm.json",
49 "prepare": "node scripts/prepare.js",
50 "build-requirements": "node scripts/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 scripts/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 scripts ./*.js ./*.ts",
68 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests scripts ./*.js ./*.ts",
69 "format": "prettier --cache --write .; eslint --cache --fix src tests scripts ./*.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 "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && pnpm dlx ncp $(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 && pnpm exec rimraf ./dist/evse-simulator.blob"
79 "cacheable-request": "^10.2.10",
85 "tough-cookie": "^4.1.3"
89 "@mikro-orm/core": "^6.4.0",
90 "@mikro-orm/mariadb": "^6.4.0",
91 "@mikro-orm/reflection": "^6.4.0",
92 "@mikro-orm/sqlite": "^6.4.0",
94 "ajv-formats": "^3.0.1",
95 "basic-ftp": "^5.0.5",
98 "http-status-codes": "^2.3.0",
100 "mnemonist": "0.40.0-rc1",
101 "mongodb": "^6.11.0",
102 "poolifier": "^4.4.5",
105 "winston": "^3.17.0",
106 "winston-daily-rotate-file": "^5.0.0",
109 "optionalDependencies": {
110 "bufferutil": "^4.0.8",
111 "utf-8-validate": "^6.0.5"
114 "@commitlint/cli": "^19.6.0",
115 "@commitlint/config-conventional": "^19.6.0",
116 "@cspell/eslint-plugin": "^8.16.0",
117 "@eslint/js": "^9.15.0",
118 "@mikro-orm/cli": "^6.4.0",
119 "@std/expect": "npm:@jsr/std__expect@^1.0.8",
120 "@types/node": "^22.10.0",
121 "@types/semver": "^7.5.8",
122 "@types/ws": "^8.5.13",
125 "cross-env": "^7.0.3",
126 "esbuild": "^0.24.0",
127 "esbuild-plugin-clean": "^1.0.1",
128 "esbuild-plugin-copy": "^2.1.1",
130 "eslint-define-config": "^2.1.0",
131 "eslint-plugin-jsdoc": "^50.5.0",
132 "eslint-plugin-perfectionist": "^4.1.2",
133 "eslint-plugin-vue": "^9.31.0",
136 "lint-staged": "^15.2.10",
137 "neostandard": "^0.11.9",
138 "prettier": "^3.4.0",
141 "ts-node": "^10.9.2",
143 "typescript": "~5.7.2"