|
|
@ -187,7 +187,7 @@ |
|
|
|
"test-all": "./scripts/test-all.sh", |
|
|
|
"lint": "npm run lint:ts && npm run lint:es && npm run lint:demo && npm run lint:style", |
|
|
|
"lint:ts": "npm run tsc && antd-tools run ts-lint", |
|
|
|
"lint:es": "eslint tests site scripts components ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx'", |
|
|
|
"lint:es": "eslint tests site scripts components ./.*.js ./webpack.config.js --ext '.js,.jsx'", |
|
|
|
"lint:demo": "cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'", |
|
|
|
"lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less", |
|
|
|
"lint-fix:ts": "npm run tsc && antd-tools run ts-lint-fix", |
|
|
|