File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ lint-staged
Original file line number Diff line number Diff line change 4040 "prepublishOnly" : " npm run compile && np --yolo --no-publish" ,
4141 "postpublish" : " tnpm sync rc-menu" ,
4242 "start" : " dumi dev" ,
43- "test" : " rc-test"
43+ "test" : " rc-test" ,
44+ "prepare" : " husky && dumi setup"
4445 },
4546 "dependencies" : {
4647 "@babel/runtime" : " ^7.10.1" ,
6667 "eslint-plugin-unicorn" : " ^51.0.1" ,
6768 "father" : " ^4.0.0" ,
6869 "gh-pages" : " ^6.1.0" ,
70+ "husky" : " ^9.1.6" ,
6971 "less" : " ^4.1.3" ,
72+ "lint-staged" : " ^15.2.10" ,
7073 "np" : " ^10.0.5" ,
7174 "rc-test" : " ^7.0.14" ,
7275 "react" : " ^18.3.1" ,
7780 "peerDependencies" : {
7881 "react" : " >=16.9.0" ,
7982 "react-dom" : " >=16.9.0"
83+ },
84+ "lint-staged" : {
85+ "*" : " prettier --write --ignore-unknown"
8086 }
8187}
You can’t perform that action at this time.
0 commit comments