|
1 | 1 | { |
2 | 2 | "name": "react-native-sized-webview", |
3 | | - "version": "1.0.15", |
| 3 | + "version": "1.1.0", |
4 | 4 | "description": "React Native WebView that auto-sizes to match its HTML content—whether you load local HTML or full external websites—without manual measurements, timers, or layout flicker.", |
5 | 5 | "main": "./lib/module/index.js", |
6 | 6 | "module": "./lib/module/index.js", |
|
39 | 39 | "example": "yarn workspace react-native-sized-webview-example", |
40 | 40 | "test": "jest", |
41 | 41 | "typecheck": "tsc", |
42 | | - "lint": "eslint \"**/*.{js,ts,tsx}\"", |
| 42 | + "lint": "biome check", |
| 43 | + "lint:fix": "biome check --write", |
| 44 | + "format": "biome format --write", |
43 | 45 | "clean": "del-cli lib", |
44 | 46 | "prepare": "bob build", |
45 | 47 | "release": "release-it --only-version" |
|
80 | 82 | "registry": "https://registry.npmjs.org/" |
81 | 83 | }, |
82 | 84 | "devDependencies": { |
83 | | - "@commitlint/config-conventional": "^20.2.0", |
84 | | - "@eslint/compat": "^2.0.0", |
85 | | - "@eslint/eslintrc": "^3.3.3", |
86 | | - "@eslint/js": "^9.39.2", |
87 | | - "@evilmartians/lefthook": "^2.0.12", |
88 | | - "@react-native/babel-preset": "0.83.0", |
89 | | - "@react-native/eslint-config": "^0.83.0", |
90 | | - "@release-it/conventional-changelog": "^10.0.3", |
| 85 | + "@biomejs/biome": "^2.4.13", |
| 86 | + "@commitlint/config-conventional": "^20.5.0", |
| 87 | + "@evilmartians/lefthook": "^2.1.6", |
| 88 | + "@react-native/babel-preset": "0.83.6", |
| 89 | + "@react-native/jest-preset": "0.85.2", |
| 90 | + "@release-it/conventional-changelog": "^11.0.0", |
91 | 91 | "@testing-library/react-native": "^13.3.3", |
92 | 92 | "@types/jest": "^30.0.0", |
93 | | - "@types/react": "^19.2.7", |
| 93 | + "@types/react": "^19.2.14", |
94 | 94 | "@types/react-dom": "^19.2.3", |
95 | 95 | "babel-plugin-react-compiler": "^1.0.0", |
96 | | - "commitlint": "^20.2.0", |
| 96 | + "commitlint": "^20.5.0", |
97 | 97 | "del-cli": "^7.0.0", |
98 | | - "eslint": "^9.39.2", |
99 | | - "eslint-config-prettier": "^10.1.8", |
100 | | - "eslint-plugin-prettier": "^5.5.4", |
101 | | - "jest": "^30.2.0", |
102 | | - "prettier": "^3.7.4", |
103 | | - "react": "19.2.3", |
104 | | - "react-native": "0.83.0", |
105 | | - "react-native-builder-bob": "^0.40.17", |
106 | | - "react-native-webview": "^13.16.0", |
107 | | - "react-test-renderer": "19.2.3", |
108 | | - "release-it": "^19.1.0", |
109 | | - "typescript": "^5.9.3" |
| 98 | + "jest": "^30.3.0", |
| 99 | + "react": "19.2.0", |
| 100 | + "react-native": "0.83.6", |
| 101 | + "react-native-builder-bob": "^0.41.0", |
| 102 | + "react-native-webview": "^13.16.1", |
| 103 | + "react-test-renderer": "19.2.0", |
| 104 | + "release-it": "^20.0.1", |
| 105 | + "typescript": "^6.0.3" |
110 | 106 | }, |
111 | 107 | "peerDependencies": { |
112 | 108 | "react": "*", |
|
119 | 115 | "sideEffects": false, |
120 | 116 | "packageManager": "yarn@3.6.1", |
121 | 117 | "jest": { |
122 | | - "preset": "react-native", |
| 118 | + "preset": "@react-native/jest-preset", |
123 | 119 | "modulePathIgnorePatterns": [ |
124 | 120 | "<rootDir>/example/node_modules", |
125 | 121 | "<rootDir>/lib/" |
|
156 | 152 | "release": true |
157 | 153 | } |
158 | 154 | }, |
159 | | - "prettier": { |
160 | | - "quoteProps": "consistent", |
161 | | - "singleQuote": true, |
162 | | - "tabWidth": 2, |
163 | | - "trailingComma": "es5", |
164 | | - "useTabs": false |
165 | | - }, |
166 | 155 | "react-native-builder-bob": { |
167 | 156 | "source": "src", |
168 | 157 | "output": "lib", |
|
0 commit comments