"main": "dist/start.js",
"scripts": {
"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",
+ "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
+ "start:dev": "cross-env NODE_ENV=development ts-node-dev -- src/start.ts",
+ "start:dev:debug": "cross-env NODE_ENV=development ts-node-dev --inspect -- src/start.ts",
+ "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
+ "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
+ "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
+ "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
+ "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
"grunt": "grunt",
"rollup": "rollup --config",
"build": "npm run grunt",
"utf-8-validate": "^5.0.4"
},
"devDependencies": {
- "@types/node": "^14.14.25",
+ "@types/node": "^14.14.27",
"@types/uuid": "^8.3.0",
"@types/ws": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
- "@wessberg/rollup-plugin-ts": "^1.3.8",
"clinic": "^8.0.1",
"cross-env": "^7.0.3",
- "eslint": "^7.19.0",
+ "eslint": "^7.20.0",
"grunt": "^1.3.0",
"grunt-ts": "^6.0.0-beta.22",
"mbt": "^1.1.0",
"npm-check": "^5.9.2",
"rimraf": "^3.0.2",
- "rollup": "^2.38.5",
+ "rollup": "^2.39.0",
+ "rollup-plugin-copy": "^3.3.0",
"rollup-plugin-delete": "^2.0.0",
+ "rollup-plugin-typescript2": "^0.29.0",
"ts-node-dev": "^1.1.1",
"typescript": "^4.1.5"
}