Refine ignore configuration
[e-mobility-charging-stations-simulator.git] / package.json
CommitLineData
7dde0b73 1{
5f4be58c 2 "name": "charging-stations-simulator",
8905022b 3 "version": "1.1.51",
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",
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 ],
b86178c7 28 "main": "./dist/start.js",
c28d8adf
JB
29 "lint-staged": {
30 "*.{js,ts}": [
31 "prettier --write",
32 "eslint --cache --fix"
33 ]
34 },
d22589b3 35 "auto-changelog": {
5f4be58c
JB
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}"
d22589b3 40 },
ae8ee665 41 "mikro-orm": {
85c8a4cf 42 "tsConfigPath": "./tsconfig-orm.json",
ae8ee665
JB
43 "useTsNode": true
44 },
7dde0b73 45 "scripts": {
c28d8adf 46 "prepare": "husky install",
6af9012e 47 "prestart": "npm run build",
c4a19794 48 "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
c4a19794 49 "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
fc201913
JB
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",
c4a19794
JB
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",
c2995f7c 56 "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
44b07a21 57 "rollup": "rollup --config",
1d064457 58 "build": "npm run rollup",
cb1948a3
JB
59 "build:dev": "npm run rollup -- --environment BUILD:development",
60 "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
6af9012e
JB
61 "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
62 "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
e7aeea18 63 "format": "prettier --write .",
c045d9a9 64 "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
4082efc1
JB
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",
7dde0b73 68 "clinic:clean": "clinic clean",
e27fae42 69 "npm-check": "npm-check",
47e22477 70 "robohydra": "robohydra test/robohydra/config.json",
5c97c3b3 71 "git:sinit": "git submodule update --init --recursive --force",
c718e93d 72 "git:sdiff": "git diff && git submodule foreach 'git diff'",
3a860d9e 73 "git:supdate": "git submodule update --remote --recursive --merge",
84e52c2c 74 "git:spush": "git push --recurse-submodules=on-demand",
cedae80d 75 "release": "release-it"
7dde0b73
JB
76 },
77 "dependencies": {
a10297ba
JB
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",
47e22477 82 "basic-ftp": "^4.6.6",
8eac9a09 83 "chalk": "^4.1.2",
4d7227e6 84 "mongodb": "^4.4.1",
9bf0316a 85 "poolifier": "^2.2.0",
c63c21bc 86 "proper-lockfile": "^4.1.2",
1dc29974 87 "source-map-support": "^0.5.21",
6fdb3397 88 "tar": "^6.1.11",
57939a9d 89 "tslib": "^2.3.1",
fe04f239 90 "uuid": "^8.3.2",
bc464bb1
JB
91 "winston": "^3.6.0",
92 "winston-daily-rotate-file": "^4.6.1",
d29de7b8 93 "ws": "^8.5.0"
7dde0b73 94 },
3d337bdb 95 "optionalDependencies": {
c15ced0b
JB
96 "bufferutil": "^4.0.6",
97 "utf-8-validate": "^5.0.8"
3d337bdb 98 },
7dde0b73 99 "devDependencies": {
9c133fad 100 "@istanbuljs/nyc-config-typescript": "^1.0.2",
a10297ba 101 "@mikro-orm/cli": "^4.5.10",
84e52c2c 102 "@rollup/plugin-json": "^4.1.0",
3a344794 103 "@types/mocha": "^9.1.0",
47e22477 104 "@types/mochawesome": "^6.2.1",
68250247 105 "@types/node": "^16.11.26",
c63c21bc 106 "@types/proper-lockfile": "^4.1.2",
42f7475e 107 "@types/tar": "^6.1.1",
9bf0316a 108 "@types/uuid": "^8.3.4",
4d7227e6
JB
109 "@types/ws": "^8.5.2",
110 "@typescript-eslint/eslint-plugin": "^5.13.0",
111 "@typescript-eslint/parser": "^5.13.0",
30d4f233 112 "auto-changelog": "^2.4.0",
bc464bb1 113 "clinic": "^11.1.0",
93b6750e 114 "cross-env": "^7.0.3",
68250247 115 "eslint": "^8.10.0",
e7aeea18 116 "eslint-config-prettier": "^8.5.0",
d1eff234 117 "eslint-plugin-import": "^2.25.4",
4d7227e6 118 "eslint-plugin-jsdoc": "^37.9.6",
d1c056a1 119 "eslint-plugin-node": "^11.1.0",
10068088 120 "eslint-plugin-prettier": "^4.0.0",
d29de7b8 121 "expect": "^27.5.1",
c28d8adf
JB
122 "husky": "^7.0.4",
123 "lint-staged": "^12.3.5",
f0a9b011 124 "mocha": "^9.2.1",
4d7227e6 125 "mochawesome": "^7.1.1",
6af9012e 126 "npm-check": "^5.9.2",
4082efc1 127 "nyc": "^15.1.0",
e7aeea18 128 "prettier": "^2.5.1",
b0a67e55 129 "release-it": "^14.12.5",
47e22477 130 "robohydra": "^0.6.9",
8f3d04b0 131 "rollup": "^2.69.1",
cb1948a3 132 "rollup-plugin-analyzer": "^4.0.0",
1329403f 133 "rollup-plugin-copy": "^3.4.0",
44b07a21 134 "rollup-plugin-delete": "^2.0.0",
4082efc1 135 "rollup-plugin-istanbul": "^3.0.0",
fc201913 136 "rollup-plugin-terser": "^7.0.2",
d1eff234 137 "rollup-plugin-ts": "^2.0.5",
4d7227e6
JB
138 "ts-node": "^10.6.0",
139 "typescript": "^4.6.2"
7dde0b73
JB
140 }
141}