mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
add beta
This commit is contained in:
parent
14c1d8fe32
commit
f8ae3cf3b9
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user