Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
7f774a55 | 2 | "name": "e-mobility-charging-stations-simulator", |
9317d53a | 3 | "version": "1.1.77", |
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 | ], | |
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", |
1f7fa4de | 50 | "build-requirements": "node build-requirements.js", |
93af3fe9 | 51 | "prestart": "npm run build", |
44a95b7f | 52 | "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs", |
44a95b7f JB |
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", | |
93af3fe9 | 62 | "rollup": "npm run build-requirements && 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": { | |
a5587710 JB |
83 | "@mikro-orm/core": "^5.4.2", |
84 | "@mikro-orm/mariadb": "^5.4.2", | |
85 | "@mikro-orm/reflection": "^5.4.2", | |
86 | "@mikro-orm/sqlite": "^5.4.2", | |
e3018bc4 JB |
87 | "ajv": "^8.11.0", |
88 | "ajv-draft-04": "^1.0.0", | |
89 | "ajv-formats": "^2.1.1", | |
17db4acc | 90 | "basic-ftp": "^5.0.2", |
8eac9a09 | 91 | "chalk": "^4.1.2", |
1f7fa4de | 92 | "http-status-codes": "^2.2.0", |
4b9419c8 | 93 | "mnemonist": "^0.39.3", |
5b7a0892 | 94 | "moment": "^2.29.4", |
556786ee | 95 | "mongodb": "^4.10.0", |
9bf0316a | 96 | "poolifier": "^2.2.0", |
c63c21bc | 97 | "proper-lockfile": "^4.1.2", |
1dc29974 | 98 | "source-map-support": "^0.5.21", |
6fdb3397 | 99 | "tar": "^6.1.11", |
2e6a1991 | 100 | "tslib": "^2.4.0", |
df9e4ca1 | 101 | "uuid": "^9.0.0", |
d273692c | 102 | "winston": "^3.8.2", |
2820900f | 103 | "winston-daily-rotate-file": "^4.7.1", |
24e545f5 | 104 | "ws": "^8.9.0" |
7dde0b73 | 105 | }, |
3d337bdb | 106 | "optionalDependencies": { |
c15ced0b | 107 | "bufferutil": "^4.0.6", |
2aa2a8df | 108 | "utf-8-validate": "^5.0.9" |
3d337bdb | 109 | }, |
7dde0b73 | 110 | "devDependencies": { |
9c133fad | 111 | "@istanbuljs/nyc-config-typescript": "^1.0.2", |
a5587710 | 112 | "@mikro-orm/cli": "^5.4.2", |
84e52c2c | 113 | "@rollup/plugin-json": "^4.1.0", |
dba1b6ee | 114 | "@types/mocha": "^10.0.0", |
47e22477 | 115 | "@types/mochawesome": "^6.2.1", |
eb8a2bc7 | 116 | "@types/node": "^18.8.2", |
c63c21bc | 117 | "@types/proper-lockfile": "^4.1.2", |
7c3f63b6 | 118 | "@types/tar": "^6.1.3", |
9bf0316a | 119 | "@types/uuid": "^8.3.4", |
25b292ff | 120 | "@types/ws": "^8.5.3", |
eb8a2bc7 | 121 | "@typescript-eslint/eslint-plugin": "^5.39.0", |
4b9419c8 | 122 | "@typescript-eslint/parser": "^5.39.0", |
6e19d740 | 123 | "auto-changelog": "^2.4.0", |
771a1ddb | 124 | "clinic": "^12.0.0", |
93b6750e | 125 | "cross-env": "^7.0.3", |
24e545f5 | 126 | "eslint": "^8.24.0", |
e7aeea18 | 127 | "eslint-config-prettier": "^8.5.0", |
d273692c | 128 | "eslint-import-resolver-typescript": "^3.5.1", |
cc4f4026 | 129 | "eslint-plugin-import": "^2.26.0", |
0627d9be | 130 | "eslint-plugin-jsdoc": "^39.3.6", |
d1c056a1 | 131 | "eslint-plugin-node": "^11.1.0", |
71828518 | 132 | "eslint-plugin-prettier": "^4.2.1", |
1553abd5 | 133 | "expect": "^29.1.2", |
f59858d8 | 134 | "husky": "^8.0.1", |
7ead2e9a | 135 | "lint-staged": "^13.0.3", |
aba95196 | 136 | "mocha": "^10.0.0", |
39dca63f | 137 | "mochawesome": "^7.1.3", |
4082efc1 | 138 | "nyc": "^15.1.0", |
52192171 | 139 | "prettier": "^2.7.1", |
eb8a2bc7 | 140 | "release-it": "^15.5.0", |
47e22477 | 141 | "robohydra": "^0.6.9", |
24e545f5 | 142 | "rollup": "^2.79.1", |
cb1948a3 | 143 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 144 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 145 | "rollup-plugin-delete": "^2.0.0", |
4082efc1 | 146 | "rollup-plugin-istanbul": "^3.0.0", |
fc201913 | 147 | "rollup-plugin-terser": "^7.0.2", |
26545e12 | 148 | "rollup-plugin-ts": "^3.0.2", |
4b9419c8 | 149 | "semver": "^7.3.8", |
9090050f | 150 | "ts-node": "^10.9.1", |
8501e548 | 151 | "typescript": "^4.8.4" |
7dde0b73 JB |
152 | } |
153 | } |