Skip to content

Commit 544a303

Browse files
committed
Configure run-if-changed for own lock file
1 parent 3bd1be0 commit 544a303

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,18 @@
2020
},
2121
"husky": {
2222
"hooks": {
23-
"pre-commit": "lint-staged"
23+
"pre-commit": "lint-staged",
24+
"post-commit": "./index.js",
25+
"post-checkout": "./index.js",
26+
"post-merge": "./index.js",
27+
"post-rewrite": "./index.js"
2428
}
2529
},
30+
"run-if-changed": {
31+
"yarn.lock": [
32+
"yarn install"
33+
]
34+
},
2635
"lint-staged": {
2736
"*.js": [
2837
"eslint --fix",

0 commit comments

Comments
 (0)