Commit | Line | Data |
---|---|---|
7dde0b73 JB |
1 | { |
2 | "name": "ev-simulator", | |
3 | "version": "1.0.0", | |
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", |
7dde0b73 | 22 | "scripts": { |
6af9012e | 23 | "prestart": "npm run build", |
c4a19794 | 24 | "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js", |
c4a19794 | 25 | "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js", |
fc201913 JB |
26 | "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", |
27 | "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", | |
c4a19794 JB |
28 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", |
29 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", | |
30 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", | |
31 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", | |
44b07a21 | 32 | "rollup": "rollup --config", |
1d064457 | 33 | "build": "npm run rollup", |
cb1948a3 JB |
34 | "build:dev": "npm run rollup -- --environment BUILD:development", |
35 | "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", | |
b9cadb84 | 36 | "build:mta": "mbt build", |
6af9012e JB |
37 | "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", |
38 | "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", | |
c045d9a9 | 39 | "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", |
6af9012e JB |
40 | "tsc": "tsc", |
41 | "test": "echo \"Error: no tests implemented\" && exit 1", | |
7dde0b73 | 42 | "clinic:clean": "clinic clean", |
e27fae42 | 43 | "npm-check": "npm-check", |
5c97c3b3 | 44 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 45 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 46 | "git:supdate": "git submodule update --remote --recursive --merge", |
e27fae42 | 47 | "git:spush": "git push --recurse-submodules=on-demand" |
7dde0b73 JB |
48 | }, |
49 | "dependencies": { | |
b252ada5 | 50 | "mongodb": "^3.6.6", |
ea73dc5c | 51 | "poolifier": "^2.0.2", |
79411696 | 52 | "source-map-support": "^0.5.19", |
263e9503 | 53 | "tslib": "^2.2.0", |
fe04f239 | 54 | "uuid": "^8.3.2", |
8235566f | 55 | "winston": "^3.3.3", |
11b056bb | 56 | "winston-daily-rotate-file": "^4.5.5", |
5f504e57 | 57 | "ws": "^7.4.5" |
7dde0b73 | 58 | }, |
3d337bdb | 59 | "optionalDependencies": { |
17991e8c | 60 | "bufferutil": "^4.0.3", |
41ffef5d | 61 | "utf-8-validate": "^5.0.5" |
3d337bdb | 62 | }, |
7dde0b73 | 63 | "devDependencies": { |
0302da79 | 64 | "@types/node": "^14.14.45", |
6af9012e | 65 | "@types/uuid": "^8.3.0", |
b8e7f7f9 JB |
66 | "@types/ws": "^7.4.4", |
67 | "@typescript-eslint/eslint-plugin": "^4.23.0", | |
68 | "@typescript-eslint/parser": "^4.23.0", | |
a01c18a0 | 69 | "clinic": "^9.0.0", |
93b6750e | 70 | "cross-env": "^7.0.3", |
11b056bb | 71 | "eslint": "^7.26.0", |
a01c18a0 JB |
72 | "eslint-plugin-import": "^2.23.1", |
73 | "eslint-plugin-jsdoc": "^34.3.0", | |
5845b21b | 74 | "mbt": "^1.1.1", |
6af9012e | 75 | "npm-check": "^5.9.2", |
a01c18a0 | 76 | "rollup": "^2.48.0", |
cb1948a3 | 77 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 78 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 79 | "rollup-plugin-delete": "^2.0.0", |
fc201913 | 80 | "rollup-plugin-terser": "^7.0.2", |
1329403f | 81 | "rollup-plugin-typescript2": "^0.30.0", |
b252ada5 | 82 | "typescript": "^4.2.4" |
7dde0b73 JB |
83 | } |
84 | } |