Version 1.1.61
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
7f774a55 2 "name": "e-mobility-charging-stations-simulator",
18855427 3 "version": "1.1.61",
7dde0b73 4 "engines": {
aba95196
JB
5 "node": ">=16.0.0",
6 "npm": ">=8.0.0"
7dde0b73
JB
7 },
8 "repository": {
9 "type": "git",
7f774a55 10 "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
7dde0b73
JB
11 },
12 "description": "Electric Vehicle charging stations simulator",
68250247 13 "author": "SAP E-Mobility <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 ],
db9b23ee
JB
28 "exports": [
29 "./dist/start.cjs",
30 "./dist/start.mjs"
31 ],
c28d8adf 32 "lint-staged": {
073bd098 33 "src/**/*.{js,ts}": [
c28d8adf
JB
34 "prettier --write",
35 "eslint --cache --fix"
36 ]
37 },
d22589b3 38 "auto-changelog": {
7f774a55
JB
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}"
d22589b3 43 },
ae8ee665 44 "mikro-orm": {
85c8a4cf 45 "tsConfigPath": "./tsconfig-orm.json",
ae8ee665
JB
46 "useTsNode": true
47 },
7dde0b73 48 "scripts": {
2aa2a8df 49 "prepare": "node prepare.js",
6af9012e 50 "prestart": "npm run build",
44a95b7f 51 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs",
44a95b7f
JB
52 "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/start.cjs",
53 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs",
54 "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs",
55 "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.cjs",
22cfa750 56 "start:dev:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs",
44a95b7f
JB
57 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.cjs",
58 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.cjs",
59 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs",
60 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.cjs",
61 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.cjs",
44b07a21 62 "rollup": "rollup --config",
1d064457 63 "build": "npm run rollup",
cb1948a3
JB
64 "build:dev": "npm run rollup -- --environment BUILD:development",
65 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
65db1aee
JB
66 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
67 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
e7aeea18 68 "format": "prettier --write .",
c045d9a9 69 "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
080ed77a 70 "test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} nyc mocha test/**/*Test.ts",
4082efc1
JB
71 "coverage": "nyc report --reporter=lcov",
72 "coverage:html": "nyc report --reporter=html",
7dde0b73 73 "clinic:clean": "clinic clean",
39dca63f 74 "npm-check": "npx npm-check",
47e22477 75 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 76 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 77 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 78 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 79 "git:spush": "git push --recurse-submodules=on-demand",
cedae80d 80 "release": "release-it"
7dde0b73
JB
81 },
82 "dependencies": {
6439c85a
JB
83 "@mikro-orm/core": "^5.1.5",
84 "@mikro-orm/mariadb": "^5.1.5",
85 "@mikro-orm/reflection": "^5.1.5",
86 "@mikro-orm/sqlite": "^5.1.5",
47e22477 87 "basic-ftp": "^4.6.6",
8eac9a09 88 "chalk": "^4.1.2",
aba95196 89 "express": "^4.18.1",
58f715a0 90 "mnemonist": "^0.39.2",
0bb3ee61 91 "moment": "^2.29.3",
178ac666 92 "mongodb": "^4.6.0",
9bf0316a 93 "poolifier": "^2.2.0",
c63c21bc 94 "proper-lockfile": "^4.1.2",
1dc29974 95 "source-map-support": "^0.5.21",
6fdb3397 96 "tar": "^6.1.11",
2e6a1991 97 "tslib": "^2.4.0",
fe04f239 98 "uuid": "^8.3.2",
cc4f4026 99 "winston": "^3.7.2",
2820900f 100 "winston-daily-rotate-file": "^4.7.1",
1e080116 101 "ws": "^8.7.0"
7dde0b73 102 },
3d337bdb 103 "optionalDependencies": {
c15ced0b 104 "bufferutil": "^4.0.6",
2aa2a8df 105 "utf-8-validate": "^5.0.9"
3d337bdb 106 },
7dde0b73 107 "devDependencies": {
9c133fad 108 "@istanbuljs/nyc-config-typescript": "^1.0.2",
6439c85a 109 "@mikro-orm/cli": "^5.1.5",
84e52c2c 110 "@rollup/plugin-json": "^4.1.0",
903becc3 111 "@types/express": "^4.17.13",
2e6a1991 112 "@types/mocha": "^9.1.1",
47e22477 113 "@types/mochawesome": "^6.2.1",
58f715a0 114 "@types/node": "^16.11.38",
c63c21bc 115 "@types/proper-lockfile": "^4.1.2",
42f7475e 116 "@types/tar": "^6.1.1",
9bf0316a 117 "@types/uuid": "^8.3.4",
25b292ff 118 "@types/ws": "^8.5.3",
6439c85a
JB
119 "@typescript-eslint/eslint-plugin": "^5.27.0",
120 "@typescript-eslint/parser": "^5.27.0",
30d4f233 121 "auto-changelog": "^2.4.0",
bc464bb1 122 "clinic": "^11.1.0",
93b6750e 123 "cross-env": "^7.0.3",
1555eb1d 124 "eslint": "^8.17.0",
e7aeea18 125 "eslint-config-prettier": "^8.5.0",
db9b23ee 126 "eslint-import-resolver-typescript": "^2.7.1",
cc4f4026 127 "eslint-plugin-import": "^2.26.0",
7c72977b 128 "eslint-plugin-jsdoc": "^39.3.2",
d1c056a1 129 "eslint-plugin-node": "^11.1.0",
10068088 130 "eslint-plugin-prettier": "^4.0.0",
7af4dc63 131 "expect": "^28.1.0",
f59858d8 132 "husky": "^8.0.1",
6439c85a 133 "lint-staged": "^13.0.0",
aba95196 134 "mocha": "^10.0.0",
39dca63f 135 "mochawesome": "^7.1.3",
4082efc1 136 "nyc": "^15.1.0",
cc4f4026 137 "prettier": "^2.6.2",
aba95196 138 "release-it": "^15.0.0",
47e22477 139 "robohydra": "^0.6.9",
6cd85def 140 "rollup": "^2.75.5",
cb1948a3 141 "rollup-plugin-analyzer": "^4.0.0",
1329403f 142 "rollup-plugin-copy": "^3.4.0",
44b07a21 143 "rollup-plugin-delete": "^2.0.0",
4082efc1 144 "rollup-plugin-istanbul": "^3.0.0",
fc201913 145 "rollup-plugin-terser": "^7.0.2",
6439c85a 146 "rollup-plugin-ts": "^3.0.1",
1555eb1d
JB
147 "ts-node": "^10.8.1",
148 "typescript": "^4.7.3"
7dde0b73
JB
149 }
150}