start
This commit is contained in:
parent
a575a5c4d3
commit
49a1d1b719
|
@ -3,7 +3,10 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"client-dev": "yarn workspace siaviewnode-client dev -p 3000",
|
"client-dev": "yarn workspace siaviewnode-client dev -p 3000",
|
||||||
"server-dev": "yarn workspace siaviewnode-server dev",
|
"server-dev": "yarn workspace siaviewnode-server dev",
|
||||||
"dev": "concurrently \"yarn client-dev\" \"yarn server-dev\""
|
"client-prod": "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\""
|
||||||
},
|
},
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
"packages": [
|
"packages": [
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "siaviewnode-server",
|
"name": "siaviewnode-server",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./build/main.js",
|
"start": "PORT=4000 node ./build/main.js",
|
||||||
"dev": "PORT=4000 backpack dev",
|
"dev": "PORT=4000 backpack dev",
|
||||||
"build": "backpack build"
|
"build": "backpack build"
|
||||||
},
|
},
|
||||||
|
|
Reference in New Issue