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 d2e9593 commit b83015bCopy full SHA for b83015b
.husky/pre-commit
@@ -0,0 +1,5 @@
1
+#!/usr/bin/env sh
2
+. "$(dirname -- "$0")/_/husky.sh"
3
+
4
+npm run build
5
+npm test
package.json
@@ -8,7 +8,8 @@
8
"build": "nx run-many --target=build --parallel 5",
9
"cipublish": "node scripts/publish.js",
10
"dev": "nx run-many --target=dev --parallel 10",
11
- "test": "nx run-many -t test"
+ "test": "nx run-many -t test",
12
+ "prepare": "husky install"
13
},
14
"repository": {
15
"type": "git",
@@ -20,7 +21,8 @@
20
21
"eslint-plugin-react-hooks": "^5.1.0",
22
"eslint-plugin-unused-imports": "^4.1.4",
23
"nx": "20.6.4",
- "typescript": "^5.6.3"
24
+ "typescript": "^5.6.3",
25
+ "husky": "^8.0.0"
26
27
"packageManager": "[email protected]",
28
"pnpm": {
0 commit comments