Commit | Line | Data |
---|---|---|
7dde0b73 JB |
1 | { |
2 | "name": "ev-simulator", | |
6e0eda47 | 3 | "version": "1.0.12", |
7dde0b73 | 4 | "engines": { |
f6c5fd7e JB |
5 | "node": "14.x.x", |
6 | "npm": "6.x.x" | |
7dde0b73 JB |
7 | }, |
8 | "repository": { | |
9 | "type": "git", | |
881b6d39 | 10 | "url": "https://github.com/sap-labs-france/ev-simulator.git" |
7dde0b73 JB |
11 | }, |
12 | "description": "Electric Vehicle charging stations simulator", | |
13 | "author": "SAP E-Mobility Labs France <e-mobility@sap.com>", | |
14 | "license": "Apache-2.0", | |
15 | "licenses": [ | |
16 | { | |
17 | "type": "Apache-2.0", | |
18 | "url": "http://www.apache.org/licenses/LICENSE-2.0" | |
19 | } | |
20 | ], | |
6af9012e | 21 | "main": "dist/start.js", |
d22589b3 JB |
22 | "auto-changelog": { |
23 | "commitUrl": "https://github.com/sap-labs-france/ev-simulator/commit/{id}", | |
24 | "issueUrl": "https://github.com/sap-labs-france/ev-simulator/issues/{id}", | |
25 | "mergeUrl": "https://github.com/sap-labs-france/ev-simulator/pull/{id}", | |
26 | "compareUrl": "https://github.com/sap-labs-france/ev-simulator/compare/{from}...{to}" | |
27 | }, | |
7dde0b73 | 28 | "scripts": { |
6af9012e | 29 | "prestart": "npm run build", |
c4a19794 | 30 | "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js", |
c4a19794 | 31 | "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js", |
fc201913 JB |
32 | "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", |
33 | "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", | |
c4a19794 JB |
34 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", |
35 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", | |
36 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", | |
37 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", | |
44b07a21 | 38 | "rollup": "rollup --config", |
1d064457 | 39 | "build": "npm run rollup", |
cb1948a3 JB |
40 | "build:dev": "npm run rollup -- --environment BUILD:development", |
41 | "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", | |
b9cadb84 | 42 | "build:mta": "mbt build", |
6af9012e JB |
43 | "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", |
44 | "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", | |
c045d9a9 | 45 | "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", |
6af9012e | 46 | "tsc": "tsc", |
c168e7ad | 47 | "pretest": "npm run build:dev", |
4082efc1 JB |
48 | "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts", |
49 | "coverage": "nyc report --reporter=lcov", | |
50 | "coverage:html": "nyc report --reporter=html", | |
7dde0b73 | 51 | "clinic:clean": "clinic clean", |
e27fae42 | 52 | "npm-check": "npm-check", |
5c97c3b3 | 53 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 54 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 55 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 56 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 57 | "release": "release-it" |
7dde0b73 JB |
58 | }, |
59 | "dependencies": { | |
261ff96b | 60 | "mongodb": "^3.6.9", |
ea73dc5c | 61 | "poolifier": "^2.0.2", |
79411696 | 62 | "source-map-support": "^0.5.19", |
263e9503 | 63 | "tslib": "^2.2.0", |
fe04f239 | 64 | "uuid": "^8.3.2", |
8235566f | 65 | "winston": "^3.3.3", |
11b056bb | 66 | "winston-daily-rotate-file": "^4.5.5", |
261ff96b | 67 | "ws": "^7.4.6" |
7dde0b73 | 68 | }, |
3d337bdb | 69 | "optionalDependencies": { |
17991e8c | 70 | "bufferutil": "^4.0.3", |
41ffef5d | 71 | "utf-8-validate": "^5.0.5" |
3d337bdb | 72 | }, |
7dde0b73 | 73 | "devDependencies": { |
4082efc1 | 74 | "@istanbuljs/nyc-config-typescript": "^1.0.1", |
84e52c2c | 75 | "@rollup/plugin-json": "^4.1.0", |
4082efc1 JB |
76 | "@types/mocha": "^8.2.2", |
77 | "@types/mochawesome": "^6.2.0", | |
5cd0ee90 | 78 | "@types/node": "^14.17.3", |
6af9012e | 79 | "@types/uuid": "^8.3.0", |
b8e7f7f9 | 80 | "@types/ws": "^7.4.4", |
5cd0ee90 JB |
81 | "@typescript-eslint/eslint-plugin": "^4.26.1", |
82 | "@typescript-eslint/parser": "^4.26.1", | |
9c03a8d5 | 83 | "auto-changelog": "^2.3.0", |
a01c18a0 | 84 | "clinic": "^9.0.0", |
93b6750e | 85 | "cross-env": "^7.0.3", |
d23a826b | 86 | "eslint": "^7.28.0", |
9c03a8d5 | 87 | "eslint-plugin-import": "^2.23.4", |
81e82738 | 88 | "eslint-plugin-jsdoc": "^35.1.3", |
d1c056a1 | 89 | "eslint-plugin-node": "^11.1.0", |
4082efc1 | 90 | "expect": "^27.0.2", |
9cd3dfb0 | 91 | "mbt": "^1.2.1", |
5cd0ee90 | 92 | "mocha": "^9.0.0", |
4082efc1 | 93 | "mochawesome": "^6.2.2", |
6af9012e | 94 | "npm-check": "^5.9.2", |
4082efc1 | 95 | "nyc": "^15.1.0", |
d23a826b | 96 | "release-it": "^14.8.0", |
ddea8863 | 97 | "rollup": "^2.51.2", |
cb1948a3 | 98 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 99 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 100 | "rollup-plugin-delete": "^2.0.0", |
4082efc1 | 101 | "rollup-plugin-istanbul": "^3.0.0", |
fc201913 | 102 | "rollup-plugin-terser": "^7.0.2", |
1329403f | 103 | "rollup-plugin-typescript2": "^0.30.0", |
4082efc1 | 104 | "ts-node": "^10.0.0", |
261ff96b | 105 | "typescript": "^4.3.2" |
7dde0b73 JB |
106 | } |
107 | } |