chore: seperate eslint-fix and eslint-tinker

This commit is contained in:
Benjy Cui
2016-01-27 17:00:58 +08:00
parent 68b51e298d
commit f8fe0b27ec
+2 -1
View File
@@ -130,7 +130,8 @@
"srclint": "eslint components test index.js --ext '.js,.jsx'",
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0,eol-last: 0'",
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'",
"eslint-fix": "eslint --fix components test index.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
"eslint-fix": "eslint --fix components test index.js --ext '.js,.jsx'",
"eslint-tinker": "eslint-tinker ./components/*/demo/*.md",
"test": "npm run lint && webpack && npm run jest",
"jest": "jest",
"pub": "sh ./scripts/publish.sh",