- "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",
+ "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",
+ "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",