File tree Expand file tree Collapse file tree 4 files changed +444
-7
lines changed
Expand file tree Collapse file tree 4 files changed +444
-7
lines changed Original file line number Diff line number Diff line change 1+ _
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ npx lint-staged
Original file line number Diff line number Diff line change 11{
22 "devDependencies" : {
33 "@vuepress/plugin-pwa" : " ^1.5.4" ,
4+ "husky" : " ^6.0.0" ,
5+ "lint-staged" : " ^10.5.4" ,
6+ "prettier" : " ^2.2.1" ,
47 "sass" : " ^1.32.0" ,
58 "sass-loader" : " ^8.0.2" ,
69 "vuepress" : " ^1.5.4"
710 },
811 "scripts" : {
912 "dev" : " yarn serve" ,
1013 "serve" : " vuepress dev src" ,
11- "build" : " vuepress build src"
14+ "build" : " vuepress build src" ,
15+ "prepare" : " husky install"
1216 },
1317 "dependencies" : {
1418 "@docsearch/css" : " ^1.0.0-alpha.27" ,
1721 "axios" : " ^0.21.1" ,
1822 "intersection-observer" : " ^0.11.0" ,
1923 "showdown" : " ^1.9.1"
24+ },
25+ "lint-staged" : {
26+ "*" : " prettier --check --write --ignore-unknown"
2027 }
2128}
You can’t perform that action at this time.
0 commit comments