diff --git a/package.json b/package.json index 2b412e74..5df34655 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "android:tv": "EXPO_TV=1 expo run:android", "prebuild": "EXPO_TV=0 bun run clean", "prebuild:tv": "EXPO_TV=1 bun run clean", - "test": "jest --watchAll", + "prepare": "husky", "postinstall": "patch-package", "lint": "biome format --write ." }, @@ -111,6 +111,7 @@ }, "devDependencies": { "@babel/core": "^7.26.8", + "@biomejs/biome": "^1.9.4", "@react-native-community/cli": "15.1.3", "@react-native-tvos/config-tv": "^0.1.1", "@types/jest": "^29.5.14", @@ -119,16 +120,20 @@ "@types/react-native-vector-icons": "^6.4.18", "@types/react-test-renderer": "^19.0.0", "@types/uuid": "^10.0.0", + "husky": "^9.1.7", + "lint-staged": "^15.5.0", "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0", "react-test-renderer": "19.0.0", - "typescript": "~5.7.3", - "@biomejs/biome": "^1.9.4" + "typescript": "~5.7.3" }, "private": true, "expo": { "install": { "exclude": ["react-native"] } + }, + "lint-staged": { + "*": ["biome check --no-errors-on-unmatched --files-ignore-unknown=true"] } }