X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=0ca5416e6e71e5274ca376cdc38a5f171f3d5df4;hb=3d337bdbc0b9a528477cb105deb3be4340e35cdf;hp=f83a76f895a88f3084d3196b31164609313a9eaa;hpb=88fab3e7e3e5c6fe6637e4c3423ed58388567c49;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index f83a76f8..0ca5416e 100644 --- a/package.json +++ b/package.json @@ -17,20 +17,20 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" } ], - "main": "src/index.js", + "main": "dist/start.js", "scripts": { - "start": "node src/index.js", - "start:debug": "node --inspect-brk src/index.js", - "start:prof": "node --prof src/index.js", - "start:doctorprof": "clinic doctor -- node src/index.js", - "start:flameprof": "clinic flame -- node src/index.js", - "start:bubbleprof": "clinic bubbleprof -- node src/index.js", - "lint": "eslint src", - "lint:fix": "eslint --fix src", - "flow": "flow", - "flow:check": "flow check src", - "flow:deps": "flow-typed install", - "test": "echo \"Error: no test specified\" && exit 1", + "start": "node -r source-map-support/register dist/start.js", + "prestart": "npm run build", + "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", + "build": "npm run tsc", + "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", + "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", + "tsc": "tsc", + "test": "echo \"Error: no tests implemented\" && exit 1", "clinic:clean": "clinic clean", "npm-check": "npm-check", "git:sdiff": "git diff && git submodule foreach 'git diff'", @@ -38,20 +38,28 @@ "git:spush": "git push --recurse-submodules=on-demand" }, "dependencies": { + "source-map-support": "^0.5.19", + "tslib": "^2.0.3", "uuid": "^8.3.1", "winston": "^3.3.3", "worker-threads-pool": "^2.0.0", "ws": "^7.3.1" }, + "optionalDependencies": { + "bufferutil": "^4.0.2", + "utf-8-validate": "^5.0.3" + }, "devDependencies": { - "babel-eslint": "^10.1.0", + "@types/node": "^14.14.6", + "@types/uuid": "^8.3.0", + "@types/worker-threads-pool": "^2.0.0", + "@types/ws": "^7.2.9", + "@typescript-eslint/eslint-plugin": "^4.6.1", + "@typescript-eslint/parser": "^4.6.1", "clinic": "^7.0.0", - "eslint": "^7.11.0", - "eslint-config-google": "^0.14.0", - "eslint-config-node": "^4.1.0", - "eslint-plugin-flowtype": "^5.2.0", - "flow-bin": "^0.135.0", - "flow-typed": "^3.2.1", - "npm-check": "^5.9.2" + "cross-env": "^7.0.2", + "eslint": "^7.12.1", + "npm-check": "^5.9.2", + "typescript": "^4.0.5" } }