chore: update scripts

This commit is contained in:
Benjy Cui 2017-01-27 11:32:03 +08:00
parent 8a412ae260
commit 0d2b8989bc

View File

@ -142,7 +142,9 @@
"lint:es": "eslint tests site scripts components ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx'",
"lint:demo": "cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
"lesshint": "lesshint components -r scripts/lesshint-report.js",
"eslint-fix": "eslint --fix tests site scripts components ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
"eslint-fix": "npm run eslint-fix:code && npm run eslint-fix:demo",
"eslint-fix:code": "eslint --fix tests site scripts components ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx'",
"eslint-fix:demo": "eslint-tinker ./components/*/demo/*.md",
"dist": "antd-tools run dist",
"compile": "antd-tools run compile",
"start": "bisheng start -c ./site/bisheng.config.js --no-livereload",