generated from SAP/repository-template
-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
146 lines (146 loc) · 5.42 KB
/
package.json
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"$schema": "https://json.schemastore.org/package",
"name": "e-mobility-charging-stations-simulator",
"version": "2.0.2",
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.0.0"
},
"volta": {
"node": "22.12.0",
"pnpm": "9.15.1"
},
"packageManager": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
},
"description": "Electric vehicle charging stations simulator",
"author": "SAP E-Mobility <[email protected]>",
"keywords": [
"ocpp",
"ocpp-j",
"ocpp1.6",
"ocpp2.0",
"charging station",
"load testing"
],
"contributors": [
{
"name": "Jérôme Benoit",
"email": "[email protected]",
"url": "https://github.com/jerome-benoit"
}
],
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"type": "module",
"exports": "./dist/start.js",
"mikro-orm": {
"tsConfigPath": "./tsconfig-mikro-orm.json",
"useTsNode": true
},
"scripts": {
"prepare": "node scripts/prepare.js",
"build-requirements": "node scripts/build-requirements.js",
"start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
"start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
"start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
"start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
"start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
"start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
"start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
"start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
"esbuild": "pnpm build-requirements && node scripts/bundle.js",
"build": "pnpm esbuild",
"build:dev": "cross-env BUILD=development pnpm esbuild",
"build:cf": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
"build:cf:dev": "pnpm clean:node_modules && pnpm exec cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
"build:entities": "tsc -p tsconfig-mikro-orm.json",
"clean:dist": "pnpm exec rimraf dist",
"clean:node_modules": "pnpm exec rimraf node_modules",
"lint": "cross-env TIMING=1 eslint --cache src tests scripts ./*.js ./*.ts",
"lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests scripts ./*.js ./*.ts",
"format": "prettier --cache --write .; eslint --cache --fix src tests scripts ./*.js ./*.ts",
"test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
"test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
"coverage": "c8 report --reporter=lcov",
"coverage:html": "c8 report --reporter=html",
"clinic:clean": "clinic clean",
"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"
},
"pnpm": {
"overrides": {
"cacheable-request": "^10.2.10",
"d3-color": "^3.1.0",
"ejs": "^3.1.9",
"got": "^12.6.1",
"nanoid": "^3.3.8",
"semver": "^7.5.3",
"tough-cookie": "^4.1.3",
"uuid": "^9.0.0"
}
},
"dependencies": {
"@mikro-orm/core": "^6.4.2",
"@mikro-orm/mariadb": "^6.4.2",
"@mikro-orm/reflection": "^6.4.2",
"@mikro-orm/sqlite": "^6.4.2",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"basic-ftp": "^5.0.5",
"chalk": "^5.4.1",
"date-fns": "^4.1.0",
"http-status-codes": "^2.3.0",
"logform": "^2.7.0",
"mnemonist": "0.40.0-rc1",
"mongodb": "^6.12.0",
"poolifier": "^4.4.5",
"rambda": "^9.4.1",
"tar": "^7.4.3",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0",
"ws": "^8.18.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.8",
"utf-8-validate": "^6.0.5"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@cspell/eslint-plugin": "^8.17.1",
"@eslint/js": "^9.17.0",
"@mikro-orm/cli": "^6.4.2",
"@std/expect": "npm:@jsr/std__expect@^1.0.10",
"@types/node": "^22.10.2",
"@types/semver": "^7.5.8",
"@types/ws": "^8.5.13",
"c8": "^10.1.3",
"clinic": "^13.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.24.2",
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"eslint": "^9.17.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-jsdoc": "^50.6.1",
"eslint-plugin-perfectionist": "^4.4.0",
"eslint-plugin-vue": "^9.32.0",
"glob": "^11.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"neostandard": "^0.12.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"semver": "^7.6.3",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "~5.7.2"
}
}