],
"main": "dist/start.js",
"scripts": {
- "start": "node -r source-map-support/register dist/start.js",
"prestart": "npm run build",
+ "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",
- "build": "npm run tsc",
+ "grunt": "grunt",
+ "build": "npm run build:prod",
+ "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",
"tslib": "^2.0.3",
"uuid": "^8.3.1",
"winston": "^3.3.3",
+ "winston-daily-rotate-file": "^4.5.0",
"worker-threads-pool": "^2.0.0",
"ws": "^7.4.0"
},
"utf-8-validate": "^5.0.3"
},
"devDependencies": {
- "@types/node": "^14.14.6",
+ "@types/node": "^14.14.8",
"@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",
+ "@types/ws": "^7.4.0",
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
+ "@typescript-eslint/parser": "^4.8.1",
"clinic": "^7.0.0",
"cross-env": "^7.0.2",
"eslint": "^7.13.0",
+ "grunt": "^1.3.0",
+ "grunt-ts": "^6.0.0-beta.22",
"npm-check": "^5.9.2",
"rimraf": "^3.0.2",
+ "ts-node-dev": "^1.0.0",
"typescript": "^4.0.5"
}
}