e9847a319d6dfa863f758f555f3ab68cb2f8bc59
[e-mobility-charging-stations-simulator.git] / package.json
1 {
2 "name": "charging-stations-simulator",
3 "version": "1.1.50",
4 "engines": {
5 "node": "16.x.x",
6 "npm": "8.x.x"
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 "auto-changelog": {
30 "commitUrl": "https://github.com/jerome-benoit/charging-stations-simulator/commit/{id}",
31 "issueUrl": "https://github.com/jerome-benoit/charging-stations-simulator/issues/{id}",
32 "mergeUrl": "https://github.com/jerome-benoit/charging-stations-simulator/pull/{id}",
33 "compareUrl": "https://github.com/jerome-benoit/charging-stations-simulator/compare/{from}...{to}"
34 },
35 "mikro-orm": {
36 "tsConfigPath": "./tsconfig-orm.json",
37 "useTsNode": true
38 },
39 "scripts": {
40 "prestart": "npm run build",
41 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
42 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
43 "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
44 "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
45 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
46 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
47 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
48 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
49 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
50 "rollup": "rollup --config",
51 "build": "npm run rollup",
52 "build:dev": "npm run rollup -- --environment BUILD:development",
53 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
54 "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
55 "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
56 "format": "prettier --write .",
57 "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
58 "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
59 "coverage": "nyc report --reporter=lcov",
60 "coverage:html": "nyc report --reporter=html",
61 "clinic:clean": "clinic clean",
62 "npm-check": "npm-check",
63 "robohydra": "robohydra test/robohydra/config.json",
64 "git:sinit": "git submodule update --init --recursive --force",
65 "git:sdiff": "git diff && git submodule foreach 'git diff'",
66 "git:supdate": "git submodule update --remote --recursive --merge",
67 "git:spush": "git push --recurse-submodules=on-demand",
68 "release": "release-it"
69 },
70 "dependencies": {
71 "@mikro-orm/core": "^4.5.10",
72 "@mikro-orm/mariadb": "^4.5.10",
73 "@mikro-orm/reflection": "^4.5.10",
74 "@mikro-orm/sqlite": "^4.5.10",
75 "basic-ftp": "^4.6.6",
76 "chalk": "^4.1.2",
77 "mongodb": "^4.4.1",
78 "poolifier": "^2.2.0",
79 "proper-lockfile": "^4.1.2",
80 "source-map-support": "^0.5.21",
81 "tar": "^6.1.11",
82 "tslib": "^2.3.1",
83 "uuid": "^8.3.2",
84 "winston": "^3.6.0",
85 "winston-daily-rotate-file": "^4.6.1",
86 "ws": "^8.5.0"
87 },
88 "optionalDependencies": {
89 "bufferutil": "^4.0.6",
90 "utf-8-validate": "^5.0.8"
91 },
92 "devDependencies": {
93 "@istanbuljs/nyc-config-typescript": "^1.0.2",
94 "@mikro-orm/cli": "^4.5.10",
95 "@rollup/plugin-json": "^4.1.0",
96 "@types/mocha": "^9.1.0",
97 "@types/mochawesome": "^6.2.1",
98 "@types/node": "^16.11.26",
99 "@types/proper-lockfile": "^4.1.2",
100 "@types/tar": "^6.1.1",
101 "@types/uuid": "^8.3.4",
102 "@types/ws": "^8.5.2",
103 "@typescript-eslint/eslint-plugin": "^5.13.0",
104 "@typescript-eslint/parser": "^5.13.0",
105 "auto-changelog": "^2.4.0",
106 "clinic": "^11.1.0",
107 "cross-env": "^7.0.3",
108 "eslint": "^8.10.0",
109 "eslint-config-prettier": "^8.5.0",
110 "eslint-plugin-import": "^2.25.4",
111 "eslint-plugin-jsdoc": "^37.9.6",
112 "eslint-plugin-node": "^11.1.0",
113 "eslint-plugin-prettier": "^4.0.0",
114 "expect": "^27.5.1",
115 "mocha": "^9.2.1",
116 "mochawesome": "^7.1.1",
117 "npm-check": "^5.9.2",
118 "nyc": "^15.1.0",
119 "prettier": "^2.5.1",
120 "release-it": "^14.12.5",
121 "robohydra": "^0.6.9",
122 "rollup": "^2.69.1",
123 "rollup-plugin-analyzer": "^4.0.0",
124 "rollup-plugin-copy": "^3.4.0",
125 "rollup-plugin-delete": "^2.0.0",
126 "rollup-plugin-istanbul": "^3.0.0",
127 "rollup-plugin-terser": "^7.0.2",
128 "rollup-plugin-ts": "^2.0.5",
129 "ts-node": "^10.6.0",
130 "typescript": "^4.6.2"
131 }
132 }