build: add packageManager field to package.json
[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.1",
5 "engines": {
6 "node": ">=18.18.0",
7 "pnpm": ">=8.6.0"
8 },
9 "volta": {
10 "node": "20.12.0",
11 "pnpm": "8.15.6"
12 },
13 "packageManager": "pnpm@8.15.6",
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 "auto-changelog": {
45 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
46 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
47 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
48 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
49 },
50 "mikro-orm": {
51 "tsConfigPath": "./tsconfig-mikro-orm.json",
52 "useTsNode": true
53 },
54 "scripts": {
55 "preinstall": "node skip-preinstall.js",
56 "prepare": "node prepare.js",
57 "build-requirements": "node --no-warnings build-requirements.js",
58 "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
59 "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
60 "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
61 "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
62 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
63 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
64 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
65 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js",
66 "esbuild": "pnpm build-requirements && node bundle.js",
67 "build": "pnpm esbuild",
68 "build:dev": "cross-env BUILD=development pnpm esbuild",
69 "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build",
70 "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev",
71 "build:entities": "tsc -p tsconfig-mikro-orm.json",
72 "clean:dist": "npx rimraf dist",
73 "clean:node_modules": "npx rimraf node_modules",
74 "lint": "cross-env TIMING=1 eslint --cache src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
75 "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests .eslintrc.cjs bundle.js mikro-orm.config-template.ts",
76 "format": "prettier --cache --write .; eslint --cache --fix src .eslintrc.cjs tests bundle.js mikro-orm.config-template.ts",
77 "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
78 "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
79 "coverage": "c8 report --reporter=lcov",
80 "coverage:html": "c8 report --reporter=html",
81 "clinic:clean": "clinic clean",
82 "release": "release-it"
83 },
84 "pnpm": {
85 "overrides": {
86 "cacheable-request": "^10.2.10",
87 "d3-color": "^3.1.0",
88 "ejs": "^3.1.9",
89 "got": "^12.6.1",
90 "semver": "^7.5.3",
91 "uuid": "^9.0.0",
92 "tough-cookie": "^4.1.3"
93 }
94 },
95 "dependencies": {
96 "@mikro-orm/core": "^6.1.12",
97 "@mikro-orm/mariadb": "^6.1.12",
98 "@mikro-orm/reflection": "^6.1.12",
99 "@mikro-orm/sqlite": "^6.1.12",
100 "ajv": "^8.12.0",
101 "ajv-formats": "^3.0.1",
102 "basic-ftp": "^5.0.5",
103 "chalk": "^5.3.0",
104 "date-fns": "^3.6.0",
105 "http-status-codes": "^2.3.0",
106 "logform": "^2.6.0",
107 "mnemonist": "0.40.0-rc1",
108 "mongodb": "^6.5.0",
109 "poolifier": "^3.1.29",
110 "rambda": "^9.2.0",
111 "tar": "^6.2.1",
112 "winston": "^3.13.0",
113 "winston-daily-rotate-file": "^5.0.0",
114 "ws": "^8.16.0"
115 },
116 "optionalDependencies": {
117 "bufferutil": "^4.0.8",
118 "utf-8-validate": "^6.0.3"
119 },
120 "devDependencies": {
121 "@commitlint/cli": "^19.2.1",
122 "@commitlint/config-conventional": "^19.1.0",
123 "@mikro-orm/cli": "^6.1.12",
124 "@release-it/bumper": "^6.0.1",
125 "@types/node": "^20.12.3",
126 "@types/semver": "^7.5.8",
127 "@types/tar": "^6.1.11",
128 "@types/ws": "^8.5.10",
129 "@typescript-eslint/eslint-plugin": "^7.5.0",
130 "@typescript-eslint/parser": "^7.5.0",
131 "auto-changelog": "^2.4.0",
132 "c8": "^9.1.0",
133 "clinic": "^13.0.0",
134 "cross-env": "^7.0.3",
135 "esbuild": "^0.20.2",
136 "esbuild-plugin-clean": "^1.0.1",
137 "esbuild-plugin-copy": "^2.1.1",
138 "eslint": "^8.57.0",
139 "eslint-config-love": "^44.0.0",
140 "eslint-config-standard": "^17.1.0",
141 "eslint-define-config": "^2.1.0",
142 "eslint-import-resolver-typescript": "^3.6.1",
143 "eslint-plugin-import": "^2.29.1",
144 "eslint-plugin-jsdoc": "^48.2.2",
145 "eslint-plugin-n": "^16.6.2",
146 "eslint-plugin-simple-import-sort": "^12.0.0",
147 "eslint-plugin-tsdoc": "^0.2.17",
148 "expect": "^29.7.0",
149 "glob": "^10.3.12",
150 "husky": "^9.0.11",
151 "lint-staged": "^15.2.2",
152 "prettier": "^3.2.5",
153 "release-it": "^17.1.1",
154 "rimraf": "^5.0.5",
155 "semver": "^7.6.0",
156 "ts-node": "^10.9.2",
157 "tsx": "^4.7.1",
158 "typescript": "~5.4.3"
159 }
160 }