mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
Add scripts site
This commit is contained in:
parent
93f95df33a
commit
4be5e25d68
@ -114,8 +114,9 @@
|
||||
"babel": "babel components index.js --out-dir lib",
|
||||
"start": "npm run clean && nico server --watch",
|
||||
"clean": "rm -rf _site dist",
|
||||
"site": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build",
|
||||
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
|
||||
"just-deploy": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build && node scripts/deploy.js",
|
||||
"just-deploy": "npm run site && node scripts/deploy.js",
|
||||
"lint": "eslint components test index.js --ext '.js,.jsx' && npm run mdlint && npm run lesshint",
|
||||
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0'",
|
||||
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
||||
|
Loading…
Reference in New Issue
Block a user