Skip to content

Commit

Permalink
add beta
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Sep 11, 2015
1 parent 14c1d8f commit f8ae3cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"lint": "eslint components index.js --ext '.js,.jsx'",
"lesslint": "lesslint style",
"test": "webpack && npm run lint",
"pub": "sh ./scripts/publish.sh"
"pub": "sh ./scripts/publish.sh",
"beta": "sh ./scripts/publish.sh --tag beta"
},
"precommit": [
"lint"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ npm run babel
rm -rf dist
webpack --config webpack.config.production.js
node scripts/prenpm.js
npm publish
npm publish $1 $2
rm -rf lib
rm -rf dist

0 comments on commit f8ae3cf

Please sign in to comment.