fix(cicd): refactor scripts for cicd
This commit is contained in:
parent
c897adc6ea
commit
2dc156cd95
11 changed files with 26 additions and 66 deletions
|
@ -4,8 +4,13 @@
|
|||
"src/client/web"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "scripts/build.sh",
|
||||
"start": "cd src/client/web/ && yarn && yarn build && cd ../../.. && go run cmd/start/main.go -c `pwd`/configs/dev.yml"
|
||||
"build:fe": "bash scripts/copy_js.sh && webpack --config src/client/web/webpack.app.prod.js",
|
||||
"build:fe:dev": "bash scripts/copy_js_dev.sh && webpack --config src/client/web/webpack.app.dev.js --watch",
|
||||
"build:fe:watch": "bash scripts/copy_js.sh && webpack --config src/client/web/webpack.app.prod.js --watch",
|
||||
"start": "yarn build:fe && go run cmd/start/main.go -c `pwd`/configs/dev.yml",
|
||||
|
||||
"build": "yarn build:fe && bash scripts/build_be.sh",
|
||||
"build:docker": "docker build . -t hexxa/quickshare:latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"webpack-bundle-analyzer": "^4.4.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue