Skip to content

Commit 4a5bf3e

Browse files
committed
build: add pre-commit and commit-msg hooks
1 parent c288285 commit 4a5bf3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
"test": "hover-scripts test",
1616
"validate": "hover-scripts validate 'lint,test --coverage --runInBand --verbose'"
1717
},
18+
"husky": {
19+
"hooks": {
20+
"pre-commit": "hover-scripts pre-commit",
21+
"commit-msg": "hover-scripts commit-msg"
22+
}
23+
},
1824
"repository": {
1925
"type": "git",
2026
"url": "https://github.com/hoverinc/playwright-testing-library.git"

0 commit comments

Comments
 (0)