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