-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.85 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "opensmartcharge",
"version": "0.2.2",
"description": "Lean, modular OCPP smart charging system",
"type": "module",
"scripts": {
"dev": "tsx watch src/core/lifecycle.ts",
"dev:all": "concurrently -n api,ui -c blue,magenta \"npm:dev\" \"npm:dev:ui2\"",
"dev:ui2": "npm --prefix src/ui2 run dev",
"dev:ui2:mock": "concurrently -n mock,ui2 -c green,magenta \"npm run mock:ui2\" \"OSC_BACKEND=http://localhost:9099 npm run dev:ui2\"",
"mock:ui2": "node scripts/mock-backend.mjs",
"build": "rm -rf dist && tsc -p tsconfig.build.json && npm --prefix src/ui2 ci && npm --prefix src/ui2 run build && mkdir -p dist/ui && cp -R src/ui2/dist/client/. dist/ui && mv dist/ui/_shell.html dist/ui/index.html",
"build:server": "tsc",
"start": "node dist/core/lifecycle.js",
"config:apply": "tsx src/cli/apply-config.ts",
"typecheck": "tsc --noEmit && tsc --noEmit -p src/ui2/tsconfig.json",
"lint": "eslint src",
"format": "prettier --write src",
"sim:pulse": "node scripts/sim-pulse.mjs",
"sim:charger": "node scripts/sim-charger.mjs",
"backup": "node scripts/backup.mjs",
"restore": "node scripts/restore.mjs",
"smoke": "node scripts/smoke.mjs",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"express": "^5.1.0",
"mqtt": "^5.10.1",
"ocpp-rpc": "^2.2.1",
"pino": "^9.6.0",
"yaml": "^2.7.1",
"zod": "^3.24.4"
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@types/express": "^5.0.2",
"@types/node": "^22.15.21",
"@vitest/coverage-v8": "^4.1.8",
"concurrently": "^9.2.1",
"prettier": "^3.5.3",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vite": "^8.0.14",
"vitest": "^4.1.8"
},
"engines": {
"node": ">=22.5"
},
"license": "MIT"
}