e97aedc0d5e3d5e68e1d1fc4ca40f4e103fef4be
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "name": "charging-stations-simulator",
3 "version": "1.1.60",
4 "engines": {
5 "node": ">=16.0.0",
6 "npm": ">=8.0.0"
7 },
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/jerome-benoit/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 "main": "./dist/start.js",
29 "lint-staged": {
30 "src/**/*.{js,ts}": [
31 "prettier --write",
32 "eslint --cache --fix"
33 ]
34 },
35 "auto-changelog": {
36 "commitUrl": "https://github.com/jerome-benoit/charging-stations-simulator/commit/{id}",
37 "issueUrl": "https://github.com/jerome-benoit/charging-stations-simulator/issues/{id}",
38 "mergeUrl": "https://github.com/jerome-benoit/charging-stations-simulator/pull/{id}",
39 "compareUrl": "https://github.com/jerome-benoit/charging-stations-simulator/compare/{from}...{to}"
40 },
41 "mikro-orm": {
42 "tsConfigPath": "./tsconfig-orm.json",
43 "useTsNode": true
44 },
45 "scripts": {
46 "prepare": "node prepare.js",
47 "prestart": "npm run build",
48 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
49 "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/start.js",
50 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
51 "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
52 "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
53 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
54 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
55 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
56 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
57 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
58 "rollup": "rollup --config",
59 "build": "npm run rollup",
60 "build:dev": "npm run rollup -- --environment BUILD:development",
61 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
62 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
63 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
64 "format": "prettier --write .",
65 "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
66 "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
67 "coverage": "nyc report --reporter=lcov",
68 "coverage:html": "nyc report --reporter=html",
69 "clinic:clean": "clinic clean",
70 "npm-check": "npx npm-check",
71 "robohydra": "robohydra test/robohydra/config.json",
72 "git:sinit": "git submodule update --init --recursive --force",
73 "git:sdiff": "git diff && git submodule foreach 'git diff'",
74 "git:supdate": "git submodule update --remote --recursive --merge",
75 "git:spush": "git push --recurse-submodules=on-demand",
76 "release": "release-it"
77 },
78 "dependencies": {
79 "@mikro-orm/core": "^5.1.3",
80 "@mikro-orm/mariadb": "^5.1.3",
81 "@mikro-orm/reflection": "^5.1.3",
82 "@mikro-orm/sqlite": "^5.1.3",
83 "basic-ftp": "^4.6.6",
84 "chalk": "^4.1.2",
85 "express": "^4.18.1",
86 "moment": "^2.29.3",
87 "mongodb": "^4.6.0",
88 "poolifier": "^2.2.0",
89 "proper-lockfile": "^4.1.2",
90 "source-map-support": "^0.5.21",
91 "tar": "^6.1.11",
92 "tslib": "^2.4.0",
93 "uuid": "^8.3.2",
94 "winston": "^3.7.2",
95 "winston-daily-rotate-file": "^4.6.1",
96 "ws": "^8.6.0"
97 },
98 "optionalDependencies": {
99 "bufferutil": "^4.0.6",
100 "utf-8-validate": "^5.0.9"
101 },
102 "devDependencies": {
103 "@istanbuljs/nyc-config-typescript": "^1.0.2",
104 "@mikro-orm/cli": "^5.1.3",
105 "@rollup/plugin-json": "^4.1.0",
106 "@types/express": "^4.17.13",
107 "@types/mocha": "^9.1.1",
108 "@types/mochawesome": "^6.2.1",
109 "@types/node": "^16.11.35",
110 "@types/proper-lockfile": "^4.1.2",
111 "@types/tar": "^6.1.1",
112 "@types/uuid": "^8.3.4",
113 "@types/ws": "^8.5.3",
114 "@typescript-eslint/eslint-plugin": "^5.24.0",
115 "@typescript-eslint/parser": "^5.24.0",
116 "auto-changelog": "^2.4.0",
117 "clinic": "^11.1.0",
118 "cross-env": "^7.0.3",
119 "eslint": "^8.15.0",
120 "eslint-config-prettier": "^8.5.0",
121 "eslint-plugin-import": "^2.26.0",
122 "eslint-plugin-jsdoc": "^39.2.9",
123 "eslint-plugin-node": "^11.1.0",
124 "eslint-plugin-prettier": "^4.0.0",
125 "expect": "^28.1.0",
126 "husky": "^8.0.1",
127 "lint-staged": "^12.4.1",
128 "mocha": "^10.0.0",
129 "mochawesome": "^7.1.3",
130 "nyc": "^15.1.0",
131 "prettier": "^2.6.2",
132 "release-it": "^15.0.0",
133 "robohydra": "^0.6.9",
134 "rollup": "^2.73.0",
135 "rollup-plugin-analyzer": "^4.0.0",
136 "rollup-plugin-copy": "^3.4.0",
137 "rollup-plugin-delete": "^2.0.0",
138 "rollup-plugin-istanbul": "^3.0.0",
139 "rollup-plugin-terser": "^7.0.2",
140 "rollup-plugin-ts": "^2.0.7",
141 "ts-node": "^10.7.0",
142 "typescript": "^4.6.4"
143 }
144 }