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