add production flag

This commit is contained in:
Eddie Wang 2019-12-05 14:22:07 -05:00
parent 1e7ceb3979
commit 8fa4d134b2
No known key found for this signature in database
GPG Key ID: DBFB3E83121BEDD1
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"client-prod": "yarn workspace siaviewnode-client build && yarn workspace siaviewnode-client start -p 3000",
"server-prod": "yarn workspace siaviewnode-server build && yarn workspace siaviewnode-server start",
"dev": "concurrently \"yarn client-dev\" \"yarn server-dev\"",
"start": "concurrently \"yarn client-prod\" \"yarn server-prod\""
"start": "NODE_ENV=production concurrently \"yarn client-prod\" \"yarn server-prod\""
},
"workspaces": {
"packages": [