|
2 | 2 | "name": "react-native-google-places-textinput", |
3 | 3 | "version": "0.7.1", |
4 | 4 | "description": "A customizable React Native TextInput component for Google Places Autocomplete using the Places API (New)", |
5 | | - "source": "./src/index.tsx", |
6 | | - "main": "./lib/commonjs/index.js", |
7 | | - "module": "./lib/module/index.js", |
| 5 | + "main": "./lib/module/index.js", |
| 6 | + "types": "./lib/typescript/src/index.d.ts", |
8 | 7 | "exports": { |
9 | 8 | ".": { |
10 | | - "import": { |
11 | | - "types": "./lib/typescript/module/src/index.d.ts", |
12 | | - "default": "./lib/module/index.js" |
13 | | - }, |
14 | | - "require": { |
15 | | - "types": "./lib/typescript/commonjs/src/index.d.ts", |
16 | | - "default": "./lib/commonjs/index.js" |
17 | | - } |
18 | | - } |
| 9 | + "source": "./src/index.tsx", |
| 10 | + "types": "./lib/typescript/src/index.d.ts", |
| 11 | + "default": "./lib/module/index.js" |
| 12 | + }, |
| 13 | + "./package.json": "./package.json" |
19 | 14 | }, |
20 | 15 | "files": [ |
21 | 16 | "src", |
|
43 | 38 | "lint": "eslint \"**/*.{js,ts,tsx}\"", |
44 | 39 | "clean": "del-cli lib", |
45 | 40 | "prepare": "bob build", |
46 | | - "release": "release-it" |
| 41 | + "release": "release-it --only-version" |
47 | 42 | }, |
48 | 43 | "keywords": [ |
49 | 44 | "address", |
|
73 | 68 | }, |
74 | 69 | "devDependencies": { |
75 | 70 | "@commitlint/config-conventional": "^19.6.0", |
| 71 | + "@eslint/compat": "^1.2.7", |
| 72 | + "@eslint/eslintrc": "^3.3.0", |
| 73 | + "@eslint/js": "^9.22.0", |
76 | 74 | "@evilmartians/lefthook": "^1.5.0", |
77 | | - "@react-native/eslint-config": "^0.73.1", |
| 75 | + "@react-native/babel-preset": "0.78.2", |
| 76 | + "@react-native/eslint-config": "^0.78.0", |
78 | 77 | "@release-it/conventional-changelog": "^9.0.2", |
79 | 78 | "@types/jest": "^29.5.5", |
80 | | - "@types/react": "^18.2.44", |
| 79 | + "@types/react": "^19.0.12", |
81 | 80 | "commitlint": "^19.6.1", |
82 | 81 | "del-cli": "^5.1.0", |
83 | | - "eslint": "^8.51.0", |
84 | | - "eslint-config-prettier": "^9.0.0", |
85 | | - "eslint-plugin-prettier": "^5.0.1", |
| 82 | + "eslint": "^9.22.0", |
| 83 | + "eslint-config-prettier": "^10.1.1", |
| 84 | + "eslint-plugin-prettier": "^5.2.3", |
86 | 85 | "jest": "^29.7.0", |
87 | 86 | "prettier": "^3.0.3", |
88 | | - "react": "18.3.1", |
89 | | - "react-native": "0.76.7", |
90 | | - "react-native-builder-bob": "^0.38.0", |
| 87 | + "react": "19.0.0", |
| 88 | + "react-native": "0.79.3", |
| 89 | + "react-native-builder-bob": "^0.40.11", |
91 | 90 | "release-it": "^17.10.0", |
92 | | - "typescript": "^5.2.2" |
93 | | - }, |
94 | | - "resolutions": { |
95 | | - "@types/react": "^18.2.44" |
| 91 | + "typescript": "^5.8.3" |
96 | 92 | }, |
97 | 93 | "peerDependencies": { |
98 | 94 | "react": "*", |
|
133 | 129 | } |
134 | 130 | } |
135 | 131 | }, |
136 | | - "eslintConfig": { |
137 | | - "root": true, |
138 | | - "extends": [ |
139 | | - "@react-native", |
140 | | - "prettier" |
141 | | - ], |
142 | | - "rules": { |
143 | | - "react/react-in-jsx-scope": "off", |
144 | | - "prettier/prettier": [ |
145 | | - "error", |
146 | | - { |
147 | | - "quoteProps": "consistent", |
148 | | - "singleQuote": true, |
149 | | - "tabWidth": 2, |
150 | | - "trailingComma": "es5", |
151 | | - "useTabs": false |
152 | | - } |
153 | | - ] |
154 | | - } |
155 | | - }, |
156 | | - "eslintIgnore": [ |
157 | | - "node_modules/", |
158 | | - "lib/" |
159 | | - ], |
160 | 132 | "prettier": { |
161 | 133 | "quoteProps": "consistent", |
162 | 134 | "singleQuote": true, |
|
168 | 140 | "source": "src", |
169 | 141 | "output": "lib", |
170 | 142 | "targets": [ |
171 | | - [ |
172 | | - "commonjs", |
173 | | - { |
174 | | - "esm": true |
175 | | - } |
176 | | - ], |
177 | 143 | [ |
178 | 144 | "module", |
179 | 145 | { |
|
183 | 149 | [ |
184 | 150 | "typescript", |
185 | 151 | { |
186 | | - "project": "tsconfig.build.json", |
187 | | - "esm": true |
| 152 | + "project": "tsconfig.build.json" |
188 | 153 | } |
189 | 154 | ] |
190 | 155 | ] |
191 | 156 | }, |
192 | 157 | "create-react-native-library": { |
193 | 158 | "languages": "js", |
194 | 159 | "type": "library", |
195 | | - "version": "0.48.5" |
196 | | - }, |
197 | | - "types": "./lib/typescript/commonjs/src/index.d.ts" |
| 160 | + "version": "0.50.3" |
| 161 | + } |
198 | 162 | } |
0 commit comments