fix(script): 修改server启动命令
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsoa -c tsoaConfig.json spec-and-routes && tsc && tsc-alias",
|
"build": "tsoa -c tsoaConfig.json spec-and-routes && tsc && tsc-alias",
|
||||||
"serve": "node ./build/index.js",
|
"serve": "yarn build && node ./build/index.js",
|
||||||
"start": "nodemon"
|
"start": "nodemon"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user