"engines": {
"node": "14.x.x"
},
- "type": "module",
"repository": {
"type": "git",
"url": "https://github.com/LucasBrazi06/ev-simulator.git"
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
- "main": "src/start.js",
+ "main": "dist/start.js",
"scripts": {
- "start": "node src/start.js",
- "start:debug": "node --inspect src/start.js",
- "start:prof": "node --prof src/start.js",
- "start:doctorprof": "clinic doctor -- node src/start.js",
- "start:flameprof": "clinic flame -- node src/start.js",
- "start:bubbleprof": "clinic bubbleprof -- node src/start.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 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",
+ "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'",
"git:spush": "git push --recurse-submodules=on-demand"
},
"dependencies": {
+ "tslib": "^2.0.3",
"uuid": "^8.3.1",
"winston": "^3.3.3",
"worker-threads-pool": "^2.0.0",
"ws": "^7.3.1"
},
"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.0",
+ "@typescript-eslint/parser": "^4.6.0",
"clinic": "^7.0.0",
+ "cross-env": "^7.0.2",
"eslint": "^7.12.1",
- "eslint-config-google": "^0.14.0",
- "eslint-config-node": "^4.1.0",
- "eslint-plugin-flowtype": "^5.2.0",
- "flow-bin": "^0.137.0",
- "flow-typed": "^3.2.1",
- "npm-check": "^5.9.2"
+ "npm-check": "^5.9.2",
+ "typescript": "^4.0.5"
}
}