Version 1.1.66
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "name": "e-mobility-charging-stations-simulator",
3 "version": "1.1.66",
4 "engines": {
5 "node": ">=16.0.0",
6 "npm": ">=8.0.0"
7 },
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
11 },
12 "description": "Electric Vehicle charging stations simulator",
13 "author": "SAP E-Mobility <e-mobility@sap.com>",
14 "contributors": [
15 {
16 "name": "Jérôme Benoit",
17 "email": "jerome.benoit@piment-noir.org",
18 "url": "https://github.com/jerome-benoit"
19 }
20 ],
21 "license": "Apache-2.0",
22 "licenses": [
23 {
24 "type": "Apache-2.0",
25 "url": "http://www.apache.org/licenses/LICENSE-2.0"
26 }
27 ],
28 "exports": [
29 "./dist/start.cjs",
30 "./dist/start.mjs"
31 ],
32 "lint-staged": {
33 "src/**/*.{js,ts}": [
34 "prettier --write",
35 "eslint --cache --fix"
36 ]
37 },
38 "auto-changelog": {
39 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
40 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
41 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
42 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
43 },
44 "mikro-orm": {
45 "tsConfigPath": "./tsconfig-orm.json",
46 "useTsNode": true
47 },
48 "scripts": {
49 "prepare": "node prepare.js",
50 "prestart": "npm run build",
51 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs",
52 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs",
53 "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs",
54 "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.cjs",
55 "start:dev:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs",
56 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.cjs",
57 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.cjs",
58 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs",
59 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.cjs",
60 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.cjs",
61 "rollup": "rollup --config",
62 "build": "npm run rollup",
63 "build:dev": "npm run rollup -- --environment BUILD:development",
64 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
65 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
66 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
67 "format": "prettier --write .",
68 "test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} nyc mocha test/**/*Test.ts",
69 "coverage": "nyc report --reporter=lcov",
70 "coverage:html": "nyc report --reporter=html",
71 "clinic:clean": "clinic clean",
72 "npm-check": "npx npm-check",
73 "robohydra": "robohydra test/robohydra/config.json",
74 "git:sinit": "git submodule update --init --recursive --force",
75 "git:sdiff": "git diff && git submodule foreach 'git diff'",
76 "git:supdate": "git submodule update --remote --recursive --merge",
77 "git:spush": "git push --recurse-submodules=on-demand",
78 "sonar:properties": "./src/scripts/updateSonarProps.sh",
79 "release": "release-it"
80 },
81 "dependencies": {
82 "@mikro-orm/core": "^5.3.1",
83 "@mikro-orm/mariadb": "^5.3.1",
84 "@mikro-orm/reflection": "^5.3.1",
85 "@mikro-orm/sqlite": "^5.3.1",
86 "ajv": "^8.11.0",
87 "ajv-draft-04": "^1.0.0",
88 "ajv-formats": "^2.1.1",
89 "basic-ftp": "^5.0.1",
90 "chalk": "^4.1.2",
91 "mnemonist": "^0.39.2",
92 "moment": "^2.29.4",
93 "mongodb": "^4.9.0",
94 "poolifier": "^2.2.0",
95 "proper-lockfile": "^4.1.2",
96 "source-map-support": "^0.5.21",
97 "tar": "^6.1.11",
98 "tslib": "^2.4.0",
99 "uuid": "^8.3.2",
100 "winston": "^3.8.1",
101 "winston-daily-rotate-file": "^4.7.1",
102 "ws": "^8.8.0"
103 },
104 "optionalDependencies": {
105 "bufferutil": "^4.0.6",
106 "utf-8-validate": "^5.0.9"
107 },
108 "devDependencies": {
109 "@istanbuljs/nyc-config-typescript": "^1.0.2",
110 "@mikro-orm/cli": "^5.3.1",
111 "@rollup/plugin-json": "^4.1.0",
112 "@types/express": "^4.17.13",
113 "@types/mocha": "^9.1.1",
114 "@types/mochawesome": "^6.2.1",
115 "@types/node": "^18.7.13",
116 "@types/proper-lockfile": "^4.1.2",
117 "@types/tar": "^6.1.2",
118 "@types/uuid": "^8.3.4",
119 "@types/ws": "^8.5.3",
120 "@typescript-eslint/eslint-plugin": "^5.35.1",
121 "@typescript-eslint/parser": "^5.35.1",
122 "auto-changelog": "^2.4.0",
123 "clinic": "^11.1.2",
124 "cross-env": "^7.0.3",
125 "eslint": "^8.22.0",
126 "eslint-config-prettier": "^8.5.0",
127 "eslint-import-resolver-typescript": "^3.5.0",
128 "eslint-plugin-import": "^2.26.0",
129 "eslint-plugin-jsdoc": "^39.3.6",
130 "eslint-plugin-node": "^11.1.0",
131 "eslint-plugin-prettier": "^4.2.1",
132 "expect": "^29.0.0",
133 "husky": "^8.0.1",
134 "lint-staged": "^13.0.3",
135 "mocha": "^10.0.0",
136 "mochawesome": "^7.1.3",
137 "nyc": "^15.1.0",
138 "prettier": "^2.7.1",
139 "release-it": "^15.4.0",
140 "robohydra": "^0.6.9",
141 "rollup": "^2.78.1",
142 "rollup-plugin-analyzer": "^4.0.0",
143 "rollup-plugin-copy": "^3.4.0",
144 "rollup-plugin-delete": "^2.0.0",
145 "rollup-plugin-istanbul": "^3.0.0",
146 "rollup-plugin-terser": "^7.0.2",
147 "rollup-plugin-ts": "^3.0.2",
148 "ts-node": "^10.9.1",
149 "typescript": "^4.7.4"
150 }
151 }