Skip to content

Commit 47f671e

Browse files
committed
Add husky to root package.json
1 parent 4ec5f5f commit 47f671e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"packages/react-native-gesture-handler"
77
],
88
"scripts": {
9+
"postinstall": "husky",
910
"ts-check": "cd ./packages/react-native-gesture-handler && yarn tsc --noEmit"
1011
},
1112
"devDependencies": {

packages/react-native-gesture-handler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.25.0",
44
"description": "Declarative API exposing native platform touch and gesture system to React Native",
55
"scripts": {
6-
"postinstall": "bob build && cd ../.. && husky install",
6+
"postinstall": "bob build",
77
"test": "jest",
88
"build": "yarn tsc -p tsconfig.build.json",
99
"precommit": "lint-staged",

0 commit comments

Comments
 (0)