move NODE_ENV production to start:prod

This commit is contained in:
William Welling
2021-12-20 15:36:36 -06:00
parent f9328da826
commit 66555c9fc1

View File

@@ -7,10 +7,10 @@
"test:rest": "ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts",
"start": "yarn run start:prod",
"start:dev": "nodemon --exec \"yarn run serve\"",
"start:prod": "yarn run build:prod && yarn run serve:ssr",
"start:prod": "yarn run build:prod && cross-env NODE_ENV=production yarn run serve:ssr",
"start:mirador:prod": "yarn run build:mirador && yarn run start:prod",
"serve": "ts-node --project ./tsconfig.ts-node.json scripts/serve.ts",
"serve:ssr": "cross-env NODE_ENV=production node dist/server/main",
"serve:ssr": "node dist/server/main",
"analyze": "webpack-bundle-analyzer dist/browser/stats.json",
"build": "ng build",
"build:stats": "ng build --stats-json",