deploy
Pan 2019-04-19 21:44:51 +08:00
parent e5e3f7beb3
commit f84543a2df
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
set -e
# build
npm run build
npm run build:prod -- --report
# navigate into the build output directory
cd dist

View File

@ -12,7 +12,8 @@
"lint": "eslint --ext .js,.vue src",
"test:unit": "jest --clearCache && vue-cli-service test:unit",
"test:ci": "npm run lint && npm run test:unit",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
"deploy": "bash deploy.sh"
},
"dependencies": {
"axios": "0.18.0",