This commit is contained in:
yiminghe 2015-09-11 10:58:16 +08:00
parent 14c1d8fe32
commit f8ae3cf3b9
2 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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