Added: version control

This commit is contained in:
Molunerfinn 2017-12-12 18:46:56 +08:00
parent 7c4b4f28e1
commit 7204e05601
2 changed files with 5 additions and 2 deletions

View File

@ -49,4 +49,4 @@ after_script:
- git config user.email "marksz@teamsz.xyz"
- git add .
- git commit -m "Travis build docs"
- git push --force --quiet "https://${GITHUB_TOKEN}@github.com/ecomfe/san-transition.git" master:gh-pages
- git push --force --quiet "https://${GITHUB_TOKEN}@github.com/Molunerfinn/PicGo.git" master:gh-pages

View File

@ -21,7 +21,10 @@
"unit": "karma start test/unit/karma.conf.js",
"postinstall": "npm run lint:fix",
"build:docs": "cross-env NODE_ENV=production webpack -p --config .electron-vue/webpack.docs.config.js",
"docs": "webpack-dev-server --content-base docs/dist --config .electron-vue/webpack.docs.config.js --hot --inline"
"docs": "webpack-dev-server --content-base docs/dist --config .electron-vue/webpack.docs.config.js --hot --inline",
"patch": "npm version patch && git push origin master && git push origin --tags",
"minor": "npm version minor && git push origin master && git push origin --tags",
"major": "npm version major && git push origin master && git push origin --tags"
},
"build": {
"productName": "PicGo",