afc163
6 years ago
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48
1 changed files with
2 additions and
16 deletions
-
package.json
|
@ -236,23 +236,9 @@ |
|
|
"lint-staged" |
|
|
"lint-staged" |
|
|
], |
|
|
], |
|
|
"lint-staged": { |
|
|
"lint-staged": { |
|
|
"components/**/*.tsx": [ |
|
|
"**/*.{js,jsx,tsx,ts,less,md,json}": [ |
|
|
"npm run lint-staged:ts", |
|
|
"prettier --write", |
|
|
"node ./scripts/prettier.js --pre", |
|
|
|
|
|
"git add" |
|
|
"git add" |
|
|
], |
|
|
|
|
|
"{tests,site,scripts,components}/**/*.{js,jsx}": [ |
|
|
|
|
|
"npm run lint-staged:es", |
|
|
|
|
|
"node ./scripts/prettier.js --pre", |
|
|
|
|
|
"git add" |
|
|
|
|
|
], |
|
|
|
|
|
"{site,components}/**/*.less": [ |
|
|
|
|
|
"stylelint --syntax less", |
|
|
|
|
|
"node ./scripts/prettier.js --pre", |
|
|
|
|
|
"git add" |
|
|
|
|
|
], |
|
|
|
|
|
"components/*/demo/*.md": [ |
|
|
|
|
|
"npm run lint-staged:demo" |
|
|
|
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
"sideEffects": [ |
|
|
"sideEffects": [ |
|
|