We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92bc165 commit 9c37b7dCopy full SHA for 9c37b7d
.husky/commit-msg
@@ -0,0 +1,4 @@
1
+#!/bin/sh
2
+. "$(dirname "$0")/_/husky.sh"
3
+
4
+node src commit-msg
.husky/pre-commit
+node src pre-commit
package.json
@@ -24,13 +24,8 @@
24
"start:types": "tsc -b -w --preserveWatchOutput src/",
25
"test": "node src test",
26
"test:update": "node src test --updateSnapshot",
27
- "validate": "node src validate"
28
- },
29
- "husky": {
30
- "hooks": {
31
- "pre-commit": "node src pre-commit",
32
- "commit-msg": "node src commit-msg"
33
- }
+ "validate": "node src validate",
+ "prepare": "husky install"
34
},
35
"files": [
36
"api",
0 commit comments