Fix deploy exec script
parent
24a081de95
commit
e92cb6d59f
|
@ -8,7 +8,7 @@
|
||||||
"dev": "npm run deploy-static && npm run dev --prefix ./api",
|
"dev": "npm run deploy-static && npm run dev --prefix ./api",
|
||||||
"pre-deploy-clean": "rm -f ./public/resource",
|
"pre-deploy-clean": "rm -f ./public/resource",
|
||||||
"deploy-static": "npm run pre-deploy-clean && npm run build --prefix=static && npm run deploy-static:link-resource && npm run deploy-static:api-docs",
|
"deploy-static": "npm run pre-deploy-clean && npm run build --prefix=static && npm run deploy-static:link-resource && npm run deploy-static:api-docs",
|
||||||
"deploy-static:prod": "pre-deploy-clean && npm run build:prod --prefix=static && npm run deploy-static:link-resource && npm run deploy-static:api-docs",
|
"deploy-static:prod": "npm run pre-deploy-clean && npm run build:prod --prefix=static && npm run deploy-static:link-resource && npm run deploy-static:api-docs",
|
||||||
"deploy-static:link-resource": "ln -s ../api/resource/ public/resource",
|
"deploy-static:link-resource": "ln -s ../api/resource/ public/resource",
|
||||||
"deploy-static:api-docs": "npm run api:docs --prefix=api",
|
"deploy-static:api-docs": "npm run api:docs --prefix=api",
|
||||||
"postinstall": "npm install --prefix ./static && npm install --prefix ./api",
|
"postinstall": "npm install --prefix ./static && npm install --prefix ./api",
|
||||||
|
|
Loading…
Reference in New Issue