chore: update husky to new api (#2102)

This commit is contained in:
Sasha 2024-08-22 18:01:29 +02:00 committed by GitHub
parent 2beb359cef
commit c33844eddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

3
.husky/pre-commit Executable file → Normal file
View File

@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

View File

@ -19,7 +19,7 @@
"packages/react-native-polyfills"
],
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build": "npm run build --workspaces --if-present",
"build:esm": "npm run build:esm --workspaces --if-present",
"size": "npm run build && size-limit",