mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: update package.json
This commit is contained in:
parent
41ed04e977
commit
a145a3ec32
@ -122,8 +122,9 @@
|
||||
"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 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'",
|
||||
"lint": "npm run srclint && npm run mdlint && npm run lesshint",
|
||||
"srclint": "eslint --fix components test index.js --ext '.js,.jsx'",
|
||||
"mdlint": "eslint --fix 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'",
|
||||
"test": "npm run lint && webpack && npm run jest",
|
||||
"jest": "jest",
|
||||
|
Loading…
Reference in New Issue
Block a user