|
47 | 47 | }, |
48 | 48 | "files": [ |
49 | 49 | "dist", |
| 50 | + "src", |
| 51 | + "!src/tests", |
50 | 52 | "package.json", |
51 | 53 | "README.md", |
52 | 54 | "LICENSE" |
|
93 | 95 | "react-native": ">=0.72.0" |
94 | 96 | }, |
95 | 97 | "devDependencies": { |
96 | | - "@babel/core": "^7.20.0", |
97 | | - "@eslint/compat": "^1.4.0", |
| 98 | + "@babel/core": "^7.29.7", |
98 | 99 | "@eslint/js": "^9.38.0", |
99 | 100 | "@testing-library/react-native": "^12.0.0", |
100 | | - "@types/jest": "^29.0.0", |
101 | | - "@types/react": ">=18.2.0", |
102 | | - "@types/react-native": "0.72.0", |
103 | | - "@types/react-test-renderer": ">=18.2.0", |
104 | | - "babel-jest": "^29.6.2", |
| 101 | + "@types/jest": "^30.0.0", |
| 102 | + "@types/react": "^19.3.0", |
| 103 | + "@types/react-test-renderer": "^19.3.0", |
| 104 | + "babel-jest": "^30.5.2", |
105 | 105 | "eslint": "^9.28.0", |
106 | 106 | "eslint-config-prettier": "^10.1.8", |
107 | | - "eslint-plugin-perfectionist": "^4.13.0", |
108 | | - "eslint-plugin-prettier": "^5.4.1", |
| 107 | + "eslint-plugin-perfectionist": "^5.12.1", |
| 108 | + "eslint-plugin-prettier": "^5.5.7", |
109 | 109 | "eslint-plugin-react": "^7.37.5", |
110 | | - "eslint-plugin-react-hooks": "^5.2.0", |
111 | | - "jest": "^29.0.0", |
112 | | - "lint-staged": "^16.2.7", |
| 110 | + "eslint-plugin-react-hooks": "^7.1.1", |
| 111 | + "jest": "^30.5.2", |
| 112 | + "lint-staged": "^17.6.0", |
113 | 113 | "metro-react-native-babel-preset": "^0.71.1", |
114 | | - "prettier": "2.8.8", |
| 114 | + "prettier": "^3.9.10", |
115 | 115 | "react": "18.2.0", |
116 | 116 | "react-native": "0.72.0", |
117 | | - "react-native-builder-bob": "^0.18.3", |
| 117 | + "react-native-builder-bob": "^0.43.2", |
118 | 118 | "react-test-renderer": "18.2.0", |
119 | | - "simple-git-hooks": "^2.13.1", |
120 | | - "typescript": "~5.8.0", |
121 | | - "typescript-eslint": "^8.33.0" |
| 119 | + "simple-git-hooks": "^2.14.0", |
| 120 | + "typescript": "~5.9.0", |
| 121 | + "typescript-eslint": "^8.71.2" |
122 | 122 | }, |
123 | 123 | "react-native-builder-bob": { |
124 | 124 | "source": "src", |
125 | 125 | "output": "dist", |
126 | 126 | "targets": [ |
127 | 127 | "commonjs", |
128 | 128 | "module", |
129 | | - "typescript" |
130 | | - ] |
| 129 | + [ |
| 130 | + "typescript", |
| 131 | + { |
| 132 | + "project": "tsconfig.build.json" |
| 133 | + } |
| 134 | + ] |
| 135 | + ], |
| 136 | + "exclude": "**/{__tests__,__fixtures__,__mocks__,tests}/**" |
131 | 137 | }, |
132 | 138 | "simple-git-hooks": { |
133 | 139 | "pre-commit": "npx lint-staged" |
|
137 | 143 | "eslint --fix", |
138 | 144 | "prettier --write" |
139 | 145 | ], |
140 | | - "*.{json}": [ |
| 146 | + "*.json": [ |
141 | 147 | "prettier --write" |
142 | 148 | ] |
143 | 149 | }, |
|
0 commit comments