Factor out a type definition
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
5f4be58c 2 "name": "charging-stations-simulator",
fbe2891f 3 "version": "1.1.47",
7dde0b73 4 "engines": {
5f8a4fd6
JB
5 "node": "16.x.x",
6 "npm": "8.x.x"
7dde0b73
JB
7 },
8 "repository": {
9 "type": "git",
5f4be58c 10 "url": "https://github.com/jerome-benoit/charging-stations-simulator.git"
7dde0b73
JB
11 },
12 "description": "Electric Vehicle charging stations simulator",
13 "author": "SAP E-Mobility Labs France <e-mobility@sap.com>",
4160581a
JB
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 ],
7dde0b73
JB
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 ],
b86178c7 28 "main": "./dist/start.js",
d22589b3 29 "auto-changelog": {
5f4be58c
JB
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}"
d22589b3 34 },
ae8ee665 35 "mikro-orm": {
85c8a4cf 36 "tsConfigPath": "./tsconfig-orm.json",
ae8ee665
JB
37 "useTsNode": true
38 },
7dde0b73 39 "scripts": {
6af9012e 40 "prestart": "npm run build",
c4a19794 41 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
c4a19794 42 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
fc201913
JB
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",
c4a19794
JB
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",
c2995f7c 49 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
44b07a21 50 "rollup": "rollup --config",
1d064457 51 "build": "npm run rollup",
cb1948a3
JB
52 "build:dev": "npm run rollup -- --environment BUILD:development",
53 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
6af9012e
JB
54 "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
55 "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
c045d9a9 56 "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
4082efc1
JB
57 "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
58 "coverage": "nyc report --reporter=lcov",
59 "coverage:html": "nyc report --reporter=html",
7dde0b73 60 "clinic:clean": "clinic clean",
e27fae42 61 "npm-check": "npm-check",
47e22477 62 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 63 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 64 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 65 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 66 "git:spush": "git push --recurse-submodules=on-demand",
cedae80d 67 "release": "release-it"
7dde0b73
JB
68 },
69 "dependencies": {
a10297ba
JB
70 "@mikro-orm/core": "^4.5.10",
71 "@mikro-orm/mariadb": "^4.5.10",
72 "@mikro-orm/reflection": "^4.5.10",
73 "@mikro-orm/sqlite": "^4.5.10",
47e22477 74 "basic-ftp": "^4.6.6",
8eac9a09 75 "chalk": "^4.1.2",
f0a9b011 76 "mongodb": "^4.4.0",
9bf0316a 77 "poolifier": "^2.2.0",
c63c21bc 78 "proper-lockfile": "^4.1.2",
1dc29974 79 "source-map-support": "^0.5.21",
6fdb3397 80 "tar": "^6.1.11",
57939a9d 81 "tslib": "^2.3.1",
fe04f239 82 "uuid": "^8.3.2",
bc464bb1
JB
83 "winston": "^3.6.0",
84 "winston-daily-rotate-file": "^4.6.1",
d29de7b8 85 "ws": "^8.5.0"
7dde0b73 86 },
3d337bdb 87 "optionalDependencies": {
c15ced0b
JB
88 "bufferutil": "^4.0.6",
89 "utf-8-validate": "^5.0.8"
3d337bdb 90 },
7dde0b73 91 "devDependencies": {
9c133fad 92 "@istanbuljs/nyc-config-typescript": "^1.0.2",
a10297ba 93 "@mikro-orm/cli": "^4.5.10",
84e52c2c 94 "@rollup/plugin-json": "^4.1.0",
3a344794 95 "@types/mocha": "^9.1.0",
47e22477 96 "@types/mochawesome": "^6.2.1",
bc464bb1 97 "@types/node": "^16.11.25",
c63c21bc 98 "@types/proper-lockfile": "^4.1.2",
42f7475e 99 "@types/tar": "^6.1.1",
9bf0316a 100 "@types/uuid": "^8.3.4",
b0a67e55 101 "@types/ws": "^8.5.0",
f0a9b011
JB
102 "@typescript-eslint/eslint-plugin": "^5.12.1",
103 "@typescript-eslint/parser": "^5.12.1",
30d4f233 104 "auto-changelog": "^2.4.0",
bc464bb1 105 "clinic": "^11.1.0",
93b6750e 106 "cross-env": "^7.0.3",
bc464bb1 107 "eslint": "^8.9.0",
d1eff234 108 "eslint-plugin-import": "^2.25.4",
f0a9b011 109 "eslint-plugin-jsdoc": "^37.9.4",
d1c056a1 110 "eslint-plugin-node": "^11.1.0",
d29de7b8 111 "expect": "^27.5.1",
f0a9b011 112 "mocha": "^9.2.1",
9fa3254f 113 "mochawesome": "^7.0.1",
6af9012e 114 "npm-check": "^5.9.2",
4082efc1 115 "nyc": "^15.1.0",
b0a67e55 116 "release-it": "^14.12.5",
47e22477 117 "robohydra": "^0.6.9",
b0a67e55 118 "rollup": "^2.68.0",
cb1948a3 119 "rollup-plugin-analyzer": "^4.0.0",
1329403f 120 "rollup-plugin-copy": "^3.4.0",
44b07a21 121 "rollup-plugin-delete": "^2.0.0",
4082efc1 122 "rollup-plugin-istanbul": "^3.0.0",
fc201913 123 "rollup-plugin-terser": "^7.0.2",
d1eff234 124 "rollup-plugin-ts": "^2.0.5",
d29de7b8 125 "ts-node": "^10.5.0",
c2995f7c 126 "typescript": "^4.5.5"
7dde0b73
JB
127 }
128}