mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 21:53:26 +00:00
chore: upgrade husky v9 settings
This commit is contained in:
5
.husky/commit-msg
Executable file → Normal file
5
.husky/commit-msg
Executable file → Normal file
@@ -1,4 +1 @@
|
|||||||
#!/bin/sh
|
npx --no -- commitlint --edit $1
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
npx --no -- commitlint --edit ${1}
|
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
"watch:js": "rollup -c --bundleConfigAsCjs -w",
|
"watch:js": "rollup -c --bundleConfigAsCjs -w",
|
||||||
"lint:scss": "stylelint _sass/**/*.scss",
|
"lint:scss": "stylelint _sass/**/*.scss",
|
||||||
"lint:fix:scss": "npm run lint:scss -- --fix",
|
"lint:fix:scss": "npm run lint:scss -- --fix",
|
||||||
"test": "npm run lint:scss"
|
"test": "npm run lint:scss",
|
||||||
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@popperjs/core": "^2.11.8",
|
"@popperjs/core": "^2.11.8",
|
||||||
|
|||||||
Reference in New Issue
Block a user