Refine .lintstagedrc.json configuration
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
7f774a55 2 "name": "e-mobility-charging-stations-simulator",
e0fc741a 3 "version": "1.1.81",
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 11 },
e6159ce8 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 ],
d22589b3 32 "auto-changelog": {
7f774a55
JB
33 "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
34 "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}",
35 "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}",
36 "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}"
d22589b3 37 },
ae8ee665 38 "mikro-orm": {
85c8a4cf 39 "tsConfigPath": "./tsconfig-orm.json",
ae8ee665
JB
40 "useTsNode": true
41 },
7dde0b73 42 "scripts": {
2aa2a8df 43 "prepare": "node prepare.js",
1f7fa4de 44 "build-requirements": "node build-requirements.js",
93af3fe9 45 "prestart": "npm run build",
44a95b7f 46 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs",
44a95b7f
JB
47 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs",
48 "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs",
49 "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.cjs",
22cfa750 50 "start:dev:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs",
44a95b7f
JB
51 "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.cjs",
52 "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.cjs",
53 "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs",
54 "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.cjs",
55 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.cjs",
93af3fe9 56 "rollup": "npm run build-requirements && rollup --config",
1d064457 57 "build": "npm run rollup",
cb1948a3
JB
58 "build:dev": "npm run rollup -- --environment BUILD:development",
59 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
65db1aee
JB
60 "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
61 "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
e7aeea18 62 "format": "prettier --write .",
080ed77a 63 "test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} nyc mocha test/**/*Test.ts",
4082efc1
JB
64 "coverage": "nyc report --reporter=lcov",
65 "coverage:html": "nyc report --reporter=html",
7dde0b73 66 "clinic:clean": "clinic clean",
39dca63f 67 "npm-check": "npx npm-check",
47e22477 68 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 69 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 70 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 71 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 72 "git:spush": "git push --recurse-submodules=on-demand",
f5387bdb 73 "sonar:properties": "./src/scripts/updateSonarProps.sh",
cedae80d 74 "release": "release-it"
7dde0b73
JB
75 },
76 "dependencies": {
a5587710
JB
77 "@mikro-orm/core": "^5.4.2",
78 "@mikro-orm/mariadb": "^5.4.2",
79 "@mikro-orm/reflection": "^5.4.2",
80 "@mikro-orm/sqlite": "^5.4.2",
e3018bc4
JB
81 "ajv": "^8.11.0",
82 "ajv-draft-04": "^1.0.0",
83 "ajv-formats": "^2.1.1",
17db4acc 84 "basic-ftp": "^5.0.2",
8eac9a09 85 "chalk": "^4.1.2",
1f7fa4de 86 "http-status-codes": "^2.2.0",
4b9419c8 87 "mnemonist": "^0.39.3",
5b7a0892 88 "moment": "^2.29.4",
556786ee 89 "mongodb": "^4.10.0",
ef0f7ca4 90 "poolifier": "^2.2.2",
c63c21bc 91 "proper-lockfile": "^4.1.2",
1dc29974 92 "source-map-support": "^0.5.21",
6fdb3397 93 "tar": "^6.1.11",
2e6a1991 94 "tslib": "^2.4.0",
df9e4ca1 95 "uuid": "^9.0.0",
d273692c 96 "winston": "^3.8.2",
2820900f 97 "winston-daily-rotate-file": "^4.7.1",
24e545f5 98 "ws": "^8.9.0"
7dde0b73 99 },
3d337bdb 100 "optionalDependencies": {
c15ced0b 101 "bufferutil": "^4.0.6",
2aa2a8df 102 "utf-8-validate": "^5.0.9"
3d337bdb 103 },
7dde0b73 104 "devDependencies": {
9c133fad 105 "@istanbuljs/nyc-config-typescript": "^1.0.2",
a5587710 106 "@mikro-orm/cli": "^5.4.2",
84e52c2c 107 "@rollup/plugin-json": "^4.1.0",
dba1b6ee 108 "@types/mocha": "^10.0.0",
47e22477 109 "@types/mochawesome": "^6.2.1",
01973609 110 "@types/node": "^18.8.3",
c63c21bc 111 "@types/proper-lockfile": "^4.1.2",
7c3f63b6 112 "@types/tar": "^6.1.3",
9bf0316a 113 "@types/uuid": "^8.3.4",
25b292ff 114 "@types/ws": "^8.5.3",
eb8a2bc7 115 "@typescript-eslint/eslint-plugin": "^5.39.0",
4b9419c8 116 "@typescript-eslint/parser": "^5.39.0",
6e19d740 117 "auto-changelog": "^2.4.0",
771a1ddb 118 "clinic": "^12.0.0",
93b6750e 119 "cross-env": "^7.0.3",
75b47657 120 "eslint": "^8.25.0",
e7aeea18 121 "eslint-config-prettier": "^8.5.0",
d273692c 122 "eslint-import-resolver-typescript": "^3.5.1",
cc4f4026 123 "eslint-plugin-import": "^2.26.0",
0627d9be 124 "eslint-plugin-jsdoc": "^39.3.6",
d1c056a1 125 "eslint-plugin-node": "^11.1.0",
71828518 126 "eslint-plugin-prettier": "^4.2.1",
1553abd5 127 "expect": "^29.1.2",
f59858d8 128 "husky": "^8.0.1",
7ead2e9a 129 "lint-staged": "^13.0.3",
aba95196 130 "mocha": "^10.0.0",
39dca63f 131 "mochawesome": "^7.1.3",
4082efc1 132 "nyc": "^15.1.0",
52192171 133 "prettier": "^2.7.1",
eb8a2bc7 134 "release-it": "^15.5.0",
47e22477 135 "robohydra": "^0.6.9",
24e545f5 136 "rollup": "^2.79.1",
cb1948a3 137 "rollup-plugin-analyzer": "^4.0.0",
1329403f 138 "rollup-plugin-copy": "^3.4.0",
44b07a21 139 "rollup-plugin-delete": "^2.0.0",
4082efc1 140 "rollup-plugin-istanbul": "^3.0.0",
fc201913 141 "rollup-plugin-terser": "^7.0.2",
26545e12 142 "rollup-plugin-ts": "^3.0.2",
4b9419c8 143 "semver": "^7.3.8",
9090050f 144 "ts-node": "^10.9.1",
8501e548 145 "typescript": "^4.8.4"
7dde0b73
JB
146 }
147}