提交 f8ae3cf3 编写于 作者: Y yiminghe

add beta

上级 14c1d8fe
...@@ -100,7 +100,8 @@ ...@@ -100,7 +100,8 @@
"lint": "eslint components index.js --ext '.js,.jsx'", "lint": "eslint components index.js --ext '.js,.jsx'",
"lesslint": "lesslint style", "lesslint": "lesslint style",
"test": "webpack && npm run lint", "test": "webpack && npm run lint",
"pub": "sh ./scripts/publish.sh" "pub": "sh ./scripts/publish.sh",
"beta": "sh ./scripts/publish.sh --tag beta"
}, },
"precommit": [ "precommit": [
"lint" "lint"
......
...@@ -2,6 +2,6 @@ npm run babel ...@@ -2,6 +2,6 @@ npm run babel
rm -rf dist rm -rf dist
webpack --config webpack.config.production.js webpack --config webpack.config.production.js
node scripts/prenpm.js node scripts/prenpm.js
npm publish npm publish $1 $2
rm -rf lib rm -rf lib
rm -rf dist rm -rf dist
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册