Skip to content

Commit 47baec5

Browse files
committed
Setup git hooks at postinstall
1 parent a5ec1e2 commit 47baec5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"scripts": {
3333
"format": "prettier '**/*' -u -w",
3434
"lint": "eslint \"./**/*.{js,ts,tsx}\"",
35-
"prepack": "yarn setup-hooks && bob build",
36-
"setup-hooks": "git config --local core.hooksPath .hooks",
37-
"tscheck": "tsc --project ./ --noEmit"
35+
"postinstall": "git config --local core.hooksPath .hooks",
36+
"prepack": "bob build",
37+
"typecheck": "tsc --project ./ --noEmit"
3838
},
3939
"react-native-builder-bob": {
4040
"source": "src",

0 commit comments

Comments
 (0)