Commit 2a1c5419 authored by chenqikuai's avatar chenqikuai

更新npm脚本

parent 855e55d7
tar -czf fns_front.tar fns_front
scp fns_front.tar root@124.70.190.110:/usr/share/nginx/html/fns_front.tar
rm -rf fns_front.tar
ssh root@124.70.190.110 'cd /usr/share/nginx/html && rm -rf fns_front && tar -xzf fns_front.tar && rm -rf fns_front.tar'
echo '👉 http://124.70.190.110:2048/'
\ No newline at end of file
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build --report", "build": "vue-cli-service build --report",
"bd": "npm run build & bash ./deploy.sh" "bd": "npm run build & bash ./deploy.sh",
"bd_110": "npm run build & bash ./deploy_110.sh"
}, },
"dependencies": { "dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1", "@amap/amap-jsapi-loader": "^1.0.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment