fix husky by adding npm prepare script (#7543)

Co-authored-by: Fokin Aleksandr Konstantinovich <aleksafokin@ozon.ru>
This commit is contained in:
Alex Yetto 2023-09-15 17:20:20 +03:00 committed by GitHub
parent 1d0eefab78
commit f24642989b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,6 +198,7 @@
"pod-install": "react-native setup-ios-permissions && cd ios && pod install",
"pod-install-m1": "react-native setup-ios-permissions && cd ios && arch -x86_64 pod install",
"postinstall": "patch-package && ./scripts/postinstall.sh",
"prepare": "husky install",
"preinstall": "./scripts/preinstall.sh && npx solidarity",
"start": "react-native start",
"test": "jest --forceExit --runInBand",