- "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": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
+ "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
+ "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
+ "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development 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",
+ "rollup": "rollup --config",
+ "build": "npm run rollup",
+ "build:dev": "npm run rollup -- --environment BUILD:development",
+ "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
+ "build:mta": "mbt build",
+ "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",