Skip to content

Commit d192072

Browse files
committed
chore(githooks): Run npm install on post-checkout hook
1 parent 7040981 commit d192072

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"codecov": "codecov",
103103
"commitmsg": "commitlint -e",
104104
"lint": "eslint lib test package.json",
105+
"postcheckout": "yarn install || (rimraf && npm install)",
105106
"precommit": "npm run lint",
106107
"pretest": "npm run clean && npm run lint",
107108
"semantic-release": "semantic-release pre && npm publish && semantic-release post",

0 commit comments

Comments
 (0)