Skip to content

Commit

Permalink
'deploy'
Browse files Browse the repository at this point in the history
  • Loading branch information
luisDanielRoviraContreras committed May 25, 2019
1 parent 1dbd28d commit 0b1112a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
node_modules
dist
# dist

# local env files
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"docs:build": "vuepress build docs",
"docs:dev": "vuepress dev docs",
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
"deploy": "sh scripts/deploy.sh"
"v": "npm version patch",
"p": "npm publish",
"deploy:lib": "npm run build & git add . & git commit -m 'deploy' & npm run v & npm run p && git push",
"deploy": "npm run deploy:lib && sh scripts/deploy.sh"
},
"main": "dist/vuttons.common.js",
"unpkg": "dist/vuttons.umd.min.js",
Expand Down
6 changes: 0 additions & 6 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
# abort on errors
set -e

git add .

git commit -m "deploy"

git push

# build
npm run docs:build

Expand Down

0 comments on commit 0b1112a

Please sign in to comment.