mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +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",
|
"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",
|
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
|
||||||
"just-deploy": "npm run site && 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",
|
"lint": "npm run srclint && npm run mdlint && npm run lesshint",
|
||||||
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0'",
|
"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'",
|
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
|
||||||
"test": "npm run lint && webpack && npm run jest",
|
"test": "npm run lint && webpack && npm run jest",
|
||||||
"jest": "jest",
|
"jest": "jest",
|
||||||
|
Loading…
Reference in New Issue
Block a user