Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
5f4be58c | 2 | "name": "charging-stations-simulator", |
dba028d0 | 3 | "version": "1.1.59", |
7dde0b73 | 4 | "engines": { |
aba95196 JB |
5 | "node": ">=16.0.0", |
6 | "npm": ">=8.0.0" | |
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 | 29 | "lint-staged": { |
073bd098 | 30 | "src/**/*.{js,ts}": [ |
c28d8adf JB |
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": { |
2aa2a8df | 46 | "prepare": "node prepare.js", |
6af9012e | 47 | "prestart": "npm run build", |
c4a19794 | 48 | "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js", |
903becc3 | 49 | "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/start.js", |
c4a19794 | 50 | "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js", |
fc201913 JB |
51 | "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", |
52 | "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", | |
c4a19794 JB |
53 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", |
54 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", | |
55 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", | |
56 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", | |
c2995f7c | 57 | "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js", |
44b07a21 | 58 | "rollup": "rollup --config", |
1d064457 | 59 | "build": "npm run rollup", |
cb1948a3 JB |
60 | "build:dev": "npm run rollup -- --environment BUILD:development", |
61 | "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", | |
65db1aee JB |
62 | "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src", |
63 | "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src", | |
e7aeea18 | 64 | "format": "prettier --write .", |
c045d9a9 | 65 | "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", |
4082efc1 JB |
66 | "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts", |
67 | "coverage": "nyc report --reporter=lcov", | |
68 | "coverage:html": "nyc report --reporter=html", | |
7dde0b73 | 69 | "clinic:clean": "clinic clean", |
39dca63f | 70 | "npm-check": "npx npm-check", |
47e22477 | 71 | "robohydra": "robohydra test/robohydra/config.json", |
5c97c3b3 | 72 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 73 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 74 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 75 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 76 | "release": "release-it" |
7dde0b73 JB |
77 | }, |
78 | "dependencies": { | |
93f47769 JB |
79 | "@mikro-orm/core": "^5.1.3", |
80 | "@mikro-orm/mariadb": "^5.1.3", | |
81 | "@mikro-orm/reflection": "^5.1.3", | |
82 | "@mikro-orm/sqlite": "^5.1.3", | |
47e22477 | 83 | "basic-ftp": "^4.6.6", |
8eac9a09 | 84 | "chalk": "^4.1.2", |
aba95196 | 85 | "express": "^4.18.1", |
0bb3ee61 | 86 | "moment": "^2.29.3", |
178ac666 | 87 | "mongodb": "^4.6.0", |
9bf0316a | 88 | "poolifier": "^2.2.0", |
c63c21bc | 89 | "proper-lockfile": "^4.1.2", |
1dc29974 | 90 | "source-map-support": "^0.5.21", |
6fdb3397 | 91 | "tar": "^6.1.11", |
2e6a1991 | 92 | "tslib": "^2.4.0", |
fe04f239 | 93 | "uuid": "^8.3.2", |
cc4f4026 | 94 | "winston": "^3.7.2", |
bc464bb1 | 95 | "winston-daily-rotate-file": "^4.6.1", |
aba95196 | 96 | "ws": "^8.6.0" |
7dde0b73 | 97 | }, |
3d337bdb | 98 | "optionalDependencies": { |
c15ced0b | 99 | "bufferutil": "^4.0.6", |
2aa2a8df | 100 | "utf-8-validate": "^5.0.9" |
3d337bdb | 101 | }, |
7dde0b73 | 102 | "devDependencies": { |
9c133fad | 103 | "@istanbuljs/nyc-config-typescript": "^1.0.2", |
93f47769 | 104 | "@mikro-orm/cli": "^5.1.3", |
84e52c2c | 105 | "@rollup/plugin-json": "^4.1.0", |
903becc3 | 106 | "@types/express": "^4.17.13", |
2e6a1991 | 107 | "@types/mocha": "^9.1.1", |
47e22477 | 108 | "@types/mochawesome": "^6.2.1", |
5b677123 | 109 | "@types/node": "^16.11.35", |
c63c21bc | 110 | "@types/proper-lockfile": "^4.1.2", |
42f7475e | 111 | "@types/tar": "^6.1.1", |
9bf0316a | 112 | "@types/uuid": "^8.3.4", |
25b292ff | 113 | "@types/ws": "^8.5.3", |
f59858d8 JB |
114 | "@typescript-eslint/eslint-plugin": "^5.23.0", |
115 | "@typescript-eslint/parser": "^5.23.0", | |
30d4f233 | 116 | "auto-changelog": "^2.4.0", |
bc464bb1 | 117 | "clinic": "^11.1.0", |
93b6750e | 118 | "cross-env": "^7.0.3", |
7af4dc63 | 119 | "eslint": "^8.15.0", |
e7aeea18 | 120 | "eslint-config-prettier": "^8.5.0", |
cc4f4026 | 121 | "eslint-plugin-import": "^2.26.0", |
93f47769 | 122 | "eslint-plugin-jsdoc": "^39.2.9", |
d1c056a1 | 123 | "eslint-plugin-node": "^11.1.0", |
10068088 | 124 | "eslint-plugin-prettier": "^4.0.0", |
7af4dc63 | 125 | "expect": "^28.1.0", |
f59858d8 | 126 | "husky": "^8.0.1", |
93f47769 | 127 | "lint-staged": "^12.4.1", |
aba95196 | 128 | "mocha": "^10.0.0", |
39dca63f | 129 | "mochawesome": "^7.1.3", |
4082efc1 | 130 | "nyc": "^15.1.0", |
cc4f4026 | 131 | "prettier": "^2.6.2", |
aba95196 | 132 | "release-it": "^15.0.0", |
47e22477 | 133 | "robohydra": "^0.6.9", |
d200b695 | 134 | "rollup": "^2.73.0", |
cb1948a3 | 135 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 136 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 137 | "rollup-plugin-delete": "^2.0.0", |
4082efc1 | 138 | "rollup-plugin-istanbul": "^3.0.0", |
fc201913 | 139 | "rollup-plugin-terser": "^7.0.2", |
2e1d0bbd | 140 | "rollup-plugin-ts": "^2.0.7", |
2aa2a8df | 141 | "ts-node": "^10.7.0", |
bd31d7f9 | 142 | "typescript": "^4.6.4" |
7dde0b73 JB |
143 | } |
144 | } |