Commit | Line | Data |
---|---|---|
7dde0b73 JB |
1 | { |
2 | "name": "ev-simulator", | |
1cddab90 | 3 | "version": "1.0.35", |
7dde0b73 | 4 | "engines": { |
f6c5fd7e JB |
5 | "node": "14.x.x", |
6 | "npm": "6.x.x" | |
7dde0b73 JB |
7 | }, |
8 | "repository": { | |
9 | "type": "git", | |
b73ff562 | 10 | "url": "https://github.com/jerome-benoit/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 | 22 | "auto-changelog": { |
b73ff562 JB |
23 | "commitUrl": "https://github.com/jerome-benoit/ev-simulator/commit/{id}", |
24 | "issueUrl": "https://github.com/jerome-benoit/ev-simulator/issues/{id}", | |
25 | "mergeUrl": "https://github.com/jerome-benoit/ev-simulator/pull/{id}", | |
26 | "compareUrl": "https://github.com/jerome-benoit/ev-simulator/compare/{from}...{to}" | |
d22589b3 | 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}'", |
c168e7ad | 46 | "pretest": "npm run build:dev", |
4082efc1 JB |
47 | "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts", |
48 | "coverage": "nyc report --reporter=lcov", | |
49 | "coverage:html": "nyc report --reporter=html", | |
7dde0b73 | 50 | "clinic:clean": "clinic clean", |
e27fae42 | 51 | "npm-check": "npm-check", |
47e22477 | 52 | "robohydra": "robohydra test/robohydra/config.json", |
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": { | |
47e22477 | 60 | "basic-ftp": "^4.6.6", |
6c5fc6c3 | 61 | "mongodb": "^4.1.0", |
ea73dc5c | 62 | "poolifier": "^2.0.2", |
79411696 | 63 | "source-map-support": "^0.5.19", |
57939a9d JB |
64 | "tar": "^6.1.8", |
65 | "tslib": "^2.3.1", | |
fe04f239 | 66 | "uuid": "^8.3.2", |
8235566f | 67 | "winston": "^3.3.3", |
11b056bb | 68 | "winston-daily-rotate-file": "^4.5.5", |
57939a9d | 69 | "ws": "^8.1.0" |
7dde0b73 | 70 | }, |
3d337bdb | 71 | "optionalDependencies": { |
17991e8c | 72 | "bufferutil": "^4.0.3", |
41ffef5d | 73 | "utf-8-validate": "^5.0.5" |
3d337bdb | 74 | }, |
7dde0b73 | 75 | "devDependencies": { |
4082efc1 | 76 | "@istanbuljs/nyc-config-typescript": "^1.0.1", |
84e52c2c | 77 | "@rollup/plugin-json": "^4.1.0", |
cef316bf | 78 | "@types/mocha": "^9.0.0", |
47e22477 | 79 | "@types/mochawesome": "^6.2.1", |
744ac1be | 80 | "@types/node": "^14.17.9", |
47e22477 JB |
81 | "@types/tar": "^4.0.5", |
82 | "@types/uuid": "^8.3.1", | |
cef316bf | 83 | "@types/ws": "^7.4.7", |
57939a9d JB |
84 | "@typescript-eslint/eslint-plugin": "^4.29.1", |
85 | "@typescript-eslint/parser": "^4.29.1", | |
9c03a8d5 | 86 | "auto-changelog": "^2.3.0", |
a01c18a0 | 87 | "clinic": "^9.0.0", |
93b6750e | 88 | "cross-env": "^7.0.3", |
744ac1be | 89 | "eslint": "^7.32.0", |
6c9f025b | 90 | "eslint-plugin-import": "^2.24.0", |
57939a9d | 91 | "eslint-plugin-jsdoc": "^36.0.7", |
d1c056a1 | 92 | "eslint-plugin-node": "^11.1.0", |
6e1221a3 | 93 | "expect": "^27.0.6", |
57939a9d | 94 | "mbt": "^1.2.3", |
f3a6f63b | 95 | "mocha": "^9.0.3", |
4082efc1 | 96 | "mochawesome": "^6.2.2", |
6af9012e | 97 | "npm-check": "^5.9.2", |
4082efc1 | 98 | "nyc": "^15.1.0", |
62cfe9f6 | 99 | "release-it": "^14.11.5", |
47e22477 | 100 | "robohydra": "^0.6.9", |
57939a9d | 101 | "rollup": "^2.56.2", |
cb1948a3 | 102 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 103 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 104 | "rollup-plugin-delete": "^2.0.0", |
4082efc1 | 105 | "rollup-plugin-istanbul": "^3.0.0", |
fc201913 | 106 | "rollup-plugin-terser": "^7.0.2", |
1329403f | 107 | "rollup-plugin-typescript2": "^0.30.0", |
6c9f025b | 108 | "ts-node": "^10.2.0", |
47e22477 | 109 | "typescript": "^4.3.5" |
7dde0b73 JB |
110 | } |
111 | } |