rewrite start script
This commit is contained in:
parent
628fad133f
commit
155db5f7f4
|
@ -2,7 +2,7 @@
|
||||||
"name": "siaviewnode-server",
|
"name": "siaviewnode-server",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "PORT=4000 node ./build/main.js",
|
"start": "yarn build && PORT=4000 node ./build/main.js",
|
||||||
"build": "tsc --sourceMap"
|
"build": "tsc --sourceMap"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
Reference in New Issue