X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=1e39e3218154dce1dd0a2a662f646da1d490d8ef;hb=059f35a55515a998352f621e40a1e35bd22b424d;hp=c1dbb16b8930249f2a0e9b7cc0b9e0fe99ca87b2;hpb=6af9012e5b9ef2ed6f4fe8a9696b40ac0e8da4d0;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index c1dbb16b..1e39e321 100644 --- a/package.json +++ b/package.json @@ -19,42 +19,62 @@ ], "main": "dist/start.js", "scripts": { - "start": "node dist/start.js", "prestart": "npm run build", - "start:debug": "node --inspect dist/start.js", - "start:prof": "node --prof dist/start.js", - "start:doctorprof": "clinic doctor -- node dist/start.js", - "start:flameprof": "clinic flame -- node dist/start.js", - "start:bubbleprof": "clinic bubbleprof -- node dist/start.js", - "build": "npm run tsc", + "start": "node -r source-map-support/register dist/start.js", + "start:dev": "ts-node-dev -- src/start.ts", + "start:dev:debug": "ts-node-dev --inspect -- src/start.ts", + "start:debug": "node -r source-map-support/register --inspect dist/start.js", + "start:prof": "node -r source-map-support/register --prof dist/start.js", + "start:doctorprof": "clinic doctor -- node -r source-map-support/register dist/start.js", + "start:flameprof": "clinic flame -- node -r source-map-support/register dist/start.js", + "start:bubbleprof": "clinic bubbleprof -- node -r source-map-support/register dist/start.js", + "grunt": "grunt", + "build": "npm run build:prod", + "build:mta": "mbt build", + "build:prod": "npm run grunt", + "build:dev": "npm run grunt -- ts:dev", + "build:clean": "rimraf ./dist", "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", + "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", "tsc": "tsc", "test": "echo \"Error: no tests implemented\" && exit 1", "clinic:clean": "clinic clean", "npm-check": "npm-check", + "git:sinit": "git submodule update --init --recursive --force", "git:sdiff": "git diff && git submodule foreach 'git diff'", "git:supdate": "git submodule update --remote --merge", "git:spush": "git push --recurse-submodules=on-demand" }, "dependencies": { - "tslib": "^2.0.3", - "uuid": "^8.3.1", + "mongodb": "^3.6.3", + "poolifier": "^1.2.1", + "source-map-support": "^0.5.19", + "tslib": "^2.1.0", + "uuid": "^8.3.2", "winston": "^3.3.3", - "worker-threads-pool": "^2.0.0", - "ws": "^7.3.1" + "winston-daily-rotate-file": "^4.5.0", + "ws": "^7.4.2" + }, + "optionalDependencies": { + "bufferutil": "^4.0.3", + "utf-8-validate": "^5.0.4" }, "devDependencies": { - "@types/node": "^14.14.6", + "@types/node": "^14.14.22", "@types/uuid": "^8.3.0", - "@types/worker-threads-pool": "^2.0.0", - "@types/ws": "^7.2.9", - "@typescript-eslint/eslint-plugin": "^4.6.0", - "@typescript-eslint/parser": "^4.6.0", - "clinic": "^7.0.0", - "cross-env": "^7.0.2", - "eslint": "^7.12.1", + "@types/ws": "^7.4.0", + "@typescript-eslint/eslint-plugin": "^4.14.0", + "@typescript-eslint/parser": "^4.14.0", + "clinic": "^8.0.1", + "cross-env": "^7.0.3", + "eslint": "^7.18.0", + "grunt": "^1.3.0", + "grunt-ts": "^6.0.0-beta.22", + "mbt": "^1.1.0", "npm-check": "^5.9.2", - "typescript": "^4.0.5" + "rimraf": "^3.0.2", + "ts-node-dev": "^1.1.1", + "typescript": "^4.1.3" } }