add lib
Showing
... | ... | @@ -27,6 +27,7 @@ |
"rc-tooltip": "~2.2.3" | ||
}, | ||
"devDependencies": { | ||
"babel": "~5.6.14", | ||
"babel-core": "~5.4.7", | ||
"babel-loader": "~5.1.3", | ||
"buildbranch": "0.0.3", | ||
... | ... | @@ -47,7 +48,9 @@ |
"webpack-dev-middleware": "~1.0.11" | ||
}, | ||
"scripts": { | ||
"babel": "babel components --out-dir lib", | ||
"build": "npm run clean && webpack && nico build", | ||
"pub": "npm run babel && npm publish && tnpm sync antd", | ||
"start": "npm run clean && nico server --watch", | ||
"clean": "rm -rf _site", | ||
"deploy": "npm run build && node deploy.js", | ||
... | ... |
想要评论请 注册 或 登录