This commit is contained in:
yiminghe 2016-04-28 11:46:11 +08:00
parent 574b402170
commit 94bb386e47
2 changed files with 5 additions and 1 deletions

View File

@ -71,7 +71,7 @@
"warning": "~2.1.0"
},
"devDependencies": {
"antd-tools": "~0.2.3",
"antd-tools": "~0.3.0",
"babel-eslint": "^6.0.2",
"babel-jest": "^11.0.2",
"babel-plugin-antd": "^0.4.0",
@ -123,6 +123,7 @@
"eslint-fix": "eslint --fix components test site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
"test": "npm run lint && npm run dist && npm run jest",
"jest": "jest",
"prepub":"node ./scripts/prepub",
"pub": "antd-tools run pub",
"beta": "antd-tools run beta",
"authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' | grep -v 'alibaba-inc.com' | grep -v 'alipay.com' | grep -v 'taobao.com' > AUTHORS.txt"

3
scripts/prepub.js Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env node
console.log('prepub');