Skip to content

Commit

Permalink
Setup git hooks at postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Jul 25, 2022
1 parent a5ec1e2 commit 47baec5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"scripts": {
"format": "prettier '**/*' -u -w",
"lint": "eslint \"./**/*.{js,ts,tsx}\"",
"prepack": "yarn setup-hooks && bob build",
"setup-hooks": "git config --local core.hooksPath .hooks",
"tscheck": "tsc --project ./ --noEmit"
"postinstall": "git config --local core.hooksPath .hooks",
"prepack": "bob build",
"typecheck": "tsc --project ./ --noEmit"
},
"react-native-builder-bob": {
"source": "src",
Expand Down

0 comments on commit 47baec5

Please sign in to comment.