Commit | Line | Data |
---|---|---|
7dde0b73 JB |
1 | { |
2 | "name": "ev-simulator", | |
d475b09a | 3 | "version": "1.0.1-0", |
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", |
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", |
84e52c2c JB |
47 | "git:spush": "git push --recurse-submodules=on-demand", |
48 | "postversion": "git push && git push upstream && git push --tags && git push upstream --tags" | |
7dde0b73 JB |
49 | }, |
50 | "dependencies": { | |
84e52c2c | 51 | "mongodb": "^3.6.7", |
ea73dc5c | 52 | "poolifier": "^2.0.2", |
79411696 | 53 | "source-map-support": "^0.5.19", |
263e9503 | 54 | "tslib": "^2.2.0", |
fe04f239 | 55 | "uuid": "^8.3.2", |
8235566f | 56 | "winston": "^3.3.3", |
11b056bb | 57 | "winston-daily-rotate-file": "^4.5.5", |
5f504e57 | 58 | "ws": "^7.4.5" |
7dde0b73 | 59 | }, |
3d337bdb | 60 | "optionalDependencies": { |
17991e8c | 61 | "bufferutil": "^4.0.3", |
41ffef5d | 62 | "utf-8-validate": "^5.0.5" |
3d337bdb | 63 | }, |
7dde0b73 | 64 | "devDependencies": { |
84e52c2c JB |
65 | "@rollup/plugin-json": "^4.1.0", |
66 | "@types/node": "^14.17.0", | |
6af9012e | 67 | "@types/uuid": "^8.3.0", |
b8e7f7f9 | 68 | "@types/ws": "^7.4.4", |
b3cb2b1f JB |
69 | "@typescript-eslint/eslint-plugin": "^4.24.0", |
70 | "@typescript-eslint/parser": "^4.24.0", | |
a01c18a0 | 71 | "clinic": "^9.0.0", |
93b6750e | 72 | "cross-env": "^7.0.3", |
11b056bb | 73 | "eslint": "^7.26.0", |
4a535518 | 74 | "eslint-plugin-import": "^2.23.2", |
84e52c2c | 75 | "eslint-plugin-jsdoc": "^34.8.2", |
5845b21b | 76 | "mbt": "^1.1.1", |
6af9012e | 77 | "npm-check": "^5.9.2", |
a01c18a0 | 78 | "rollup": "^2.48.0", |
cb1948a3 | 79 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 80 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 81 | "rollup-plugin-delete": "^2.0.0", |
fc201913 | 82 | "rollup-plugin-terser": "^7.0.2", |
1329403f | 83 | "rollup-plugin-typescript2": "^0.30.0", |
b252ada5 | 84 | "typescript": "^4.2.4" |
7dde0b73 JB |
85 | } |
86 | } |