Use eslint extension for import sorting instead of unmaintained external ones
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
7f774a55 2 "name": "e-mobility-charging-stations-simulator",
e15cda28 3 "version": "1.1.63",
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 .",
080ed77a 69 "test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} nyc mocha test/**/*Test.ts",
4082efc1
JB
70 "coverage": "nyc report --reporter=lcov",
71 "coverage:html": "nyc report --reporter=html",
7dde0b73 72 "clinic:clean": "clinic clean",
39dca63f 73 "npm-check": "npx npm-check",
47e22477 74 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 75 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 76 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 77 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 78 "git:spush": "git push --recurse-submodules=on-demand",
f5387bdb 79 "sonar:properties": "./src/scripts/updateSonarProps.sh",
cedae80d 80 "release": "release-it"
7dde0b73
JB
81 },
82 "dependencies": {
19334685
JB
83 "@mikro-orm/core": "^5.2.3",
84 "@mikro-orm/mariadb": "^5.2.3",
85 "@mikro-orm/reflection": "^5.2.3",
86 "@mikro-orm/sqlite": "^5.2.3",
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",
5b7a0892 91 "moment": "^2.29.4",
479f3758 92 "mongodb": "^4.8.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",
71828518 99 "winston": "^3.8.1",
2820900f 100 "winston-daily-rotate-file": "^4.7.1",
4c0a2967 101 "ws": "^8.8.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",
19334685 109 "@mikro-orm/cli": "^5.2.3",
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",
b6f9c988 114 "@types/node": "^18.0.3",
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",
2b89a511
JB
119 "@typescript-eslint/eslint-plugin": "^5.30.6",
120 "@typescript-eslint/parser": "^5.30.6",
30d4f233 121 "auto-changelog": "^2.4.0",
bc464bb1 122 "clinic": "^11.1.0",
93b6750e 123 "cross-env": "^7.0.3",
f46e0758 124 "eslint": "^8.19.0",
e7aeea18 125 "eslint-config-prettier": "^8.5.0",
8114d10e 126 "eslint-import-resolver-typescript": "^3.2.7",
cc4f4026 127 "eslint-plugin-import": "^2.26.0",
52192171 128 "eslint-plugin-jsdoc": "^39.3.3",
d1c056a1 129 "eslint-plugin-node": "^11.1.0",
71828518 130 "eslint-plugin-prettier": "^4.2.1",
479f3758 131 "expect": "^28.1.3",
f59858d8 132 "husky": "^8.0.1",
7ead2e9a 133 "lint-staged": "^13.0.3",
aba95196 134 "mocha": "^10.0.0",
39dca63f 135 "mochawesome": "^7.1.3",
4082efc1 136 "nyc": "^15.1.0",
52192171 137 "prettier": "^2.7.1",
a9dc6e40 138 "release-it": "^15.1.1",
47e22477 139 "robohydra": "^0.6.9",
9090050f 140 "rollup": "^2.77.0",
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",
26545e12 146 "rollup-plugin-ts": "^3.0.2",
9090050f 147 "ts-node": "^10.9.1",
52192171 148 "typescript": "^4.7.4"
7dde0b73
JB
149 }
150}