diff --git a/deploy.sh b/deploy.sh index 77d20a2..b305e81 100644 --- a/deploy.sh +++ b/deploy.sh @@ -4,7 +4,7 @@ set -e # build -npm run build +npm run build:prod -- --report # navigate into the build output directory cd dist diff --git a/package.json b/package.json index 0034944..1c39d77 100644 --- a/package.json +++ b/package.json @@ -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",