Commit | Line | Data |
---|---|---|
7dde0b73 | 1 | { |
5f4be58c | 2 | "name": "charging-stations-simulator", |
8890b232 | 3 | "version": "1.1.4", |
7dde0b73 | 4 | "engines": { |
f6c5fd7e JB |
5 | "node": "14.x.x", |
6 | "npm": "6.x.x" | |
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", | |
13 | "author": "SAP E-Mobility Labs France <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 | ], | |
6af9012e | 28 | "main": "dist/start.js", |
d22589b3 | 29 | "auto-changelog": { |
5f4be58c JB |
30 | "commitUrl": "https://github.com/jerome-benoit/charging-stations-simulator/commit/{id}", |
31 | "issueUrl": "https://github.com/jerome-benoit/charging-stations-simulator/issues/{id}", | |
32 | "mergeUrl": "https://github.com/jerome-benoit/charging-stations-simulator/pull/{id}", | |
33 | "compareUrl": "https://github.com/jerome-benoit/charging-stations-simulator/compare/{from}...{to}" | |
d22589b3 | 34 | }, |
ae8ee665 JB |
35 | "mikro-orm": { |
36 | "tsConfigPath": "./tsconfig.orm.json", | |
37 | "useTsNode": true | |
38 | }, | |
7dde0b73 | 39 | "scripts": { |
6af9012e | 40 | "prestart": "npm run build", |
c4a19794 | 41 | "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js", |
c4a19794 | 42 | "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js", |
fc201913 JB |
43 | "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", |
44 | "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", | |
c4a19794 JB |
45 | "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", |
46 | "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", | |
47 | "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", | |
48 | "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", | |
44b07a21 | 49 | "rollup": "rollup --config", |
1d064457 | 50 | "build": "npm run rollup", |
cb1948a3 JB |
51 | "build:dev": "npm run rollup -- --environment BUILD:development", |
52 | "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", | |
b9cadb84 | 53 | "build:mta": "mbt build", |
6af9012e JB |
54 | "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", |
55 | "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", | |
c045d9a9 | 56 | "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", |
4082efc1 JB |
57 | "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts", |
58 | "coverage": "nyc report --reporter=lcov", | |
59 | "coverage:html": "nyc report --reporter=html", | |
7dde0b73 | 60 | "clinic:clean": "clinic clean", |
e27fae42 | 61 | "npm-check": "npm-check", |
47e22477 | 62 | "robohydra": "robohydra test/robohydra/config.json", |
5c97c3b3 | 63 | "git:sinit": "git submodule update --init --recursive --force", |
c718e93d | 64 | "git:sdiff": "git diff && git submodule foreach 'git diff'", |
3a860d9e | 65 | "git:supdate": "git submodule update --remote --recursive --merge", |
84e52c2c | 66 | "git:spush": "git push --recurse-submodules=on-demand", |
cedae80d | 67 | "release": "release-it" |
7dde0b73 JB |
68 | }, |
69 | "dependencies": { | |
a6b3c6c3 JB |
70 | "@mikro-orm/core": "^4.5.9", |
71 | "@mikro-orm/mariadb": "^4.5.9", | |
ae8ee665 | 72 | "@mikro-orm/reflection": "^4.5.9", |
a6b3c6c3 | 73 | "@mikro-orm/sqlite": "^4.5.9", |
47e22477 | 74 | "basic-ftp": "^4.6.6", |
8eac9a09 | 75 | "chalk": "^4.1.2", |
105758c2 | 76 | "mongodb": "^4.1.2", |
b55c9112 | 77 | "poolifier": "^2.1.0", |
c63c21bc | 78 | "proper-lockfile": "^4.1.2", |
d9a5d2eb | 79 | "source-map-support": "^0.5.20", |
6fdb3397 | 80 | "tar": "^6.1.11", |
57939a9d | 81 | "tslib": "^2.3.1", |
fe04f239 | 82 | "uuid": "^8.3.2", |
8235566f | 83 | "winston": "^3.3.3", |
11b056bb | 84 | "winston-daily-rotate-file": "^4.5.5", |
d9a5d2eb | 85 | "ws": "^8.2.2" |
7dde0b73 | 86 | }, |
3d337bdb | 87 | "optionalDependencies": { |
17991e8c | 88 | "bufferutil": "^4.0.3", |
41ffef5d | 89 | "utf-8-validate": "^5.0.5" |
3d337bdb | 90 | }, |
7dde0b73 | 91 | "devDependencies": { |
4082efc1 | 92 | "@istanbuljs/nyc-config-typescript": "^1.0.1", |
ae8ee665 | 93 | "@mikro-orm/cli": "^4.5.9", |
84e52c2c | 94 | "@rollup/plugin-json": "^4.1.0", |
cef316bf | 95 | "@types/mocha": "^9.0.0", |
47e22477 | 96 | "@types/mochawesome": "^6.2.1", |
3a2adbe5 | 97 | "@types/node": "^14.17.17", |
c63c21bc | 98 | "@types/proper-lockfile": "^4.1.2", |
47e22477 JB |
99 | "@types/tar": "^4.0.5", |
100 | "@types/uuid": "^8.3.1", | |
cef316bf | 101 | "@types/ws": "^7.4.7", |
2f307793 JB |
102 | "@typescript-eslint/eslint-plugin": "^4.31.2", |
103 | "@typescript-eslint/parser": "^4.31.2", | |
9c03a8d5 | 104 | "auto-changelog": "^2.3.0", |
a01c18a0 | 105 | "clinic": "^9.0.0", |
93b6750e | 106 | "cross-env": "^7.0.3", |
744ac1be | 107 | "eslint": "^7.32.0", |
72f041bd | 108 | "eslint-plugin-import": "^2.24.2", |
88409fc1 | 109 | "eslint-plugin-jsdoc": "^36.1.0", |
d1c056a1 | 110 | "eslint-plugin-node": "^11.1.0", |
2f307793 | 111 | "expect": "^27.2.1", |
ffd71f2c | 112 | "mocha": "^9.1.1", |
4082efc1 | 113 | "mochawesome": "^6.2.2", |
6af9012e | 114 | "npm-check": "^5.9.2", |
4082efc1 | 115 | "nyc": "^15.1.0", |
62cfe9f6 | 116 | "release-it": "^14.11.5", |
47e22477 | 117 | "robohydra": "^0.6.9", |
43764de0 | 118 | "rollup": "^2.56.3", |
cb1948a3 | 119 | "rollup-plugin-analyzer": "^4.0.0", |
1329403f | 120 | "rollup-plugin-copy": "^3.4.0", |
44b07a21 | 121 | "rollup-plugin-delete": "^2.0.0", |
4082efc1 | 122 | "rollup-plugin-istanbul": "^3.0.0", |
fc201913 | 123 | "rollup-plugin-terser": "^7.0.2", |
2f307793 | 124 | "rollup-plugin-ts": "^1.4.3", |
15042c5f | 125 | "ts-node": "^10.2.1", |
16b0d4e7 | 126 | "typescript": "^4.4.3" |
7dde0b73 JB |
127 | } |
128 | } |