|
25 | 25 | "test": "jest", |
26 | 26 | "typescript": "tsc --noEmit", |
27 | 27 | "lint": "eslint \"**/*.{js,ts,tsx}\"", |
28 | | - "prepare": "bob build", |
| 28 | + "prepare": "bob build && yarn copy-dts", |
| 29 | + "copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/typescript", |
29 | 30 | "release": "release-it", |
30 | 31 | "example": "yarn --cwd example", |
31 | 32 | "pods": "cd example && pod-install --quiet", |
|
50 | 51 | "@commitlint/config-conventional": "^11.0.0", |
51 | 52 | "@react-native-community/eslint-config": "^2.0.0", |
52 | 53 | "@release-it/conventional-changelog": "^2.0.0", |
53 | | - "@types/jest": "^26.0.0", |
54 | | - "@types/react": "^16.9.19", |
55 | | - "@types/react-native": "0.62.13", |
| 54 | + "@types/jest": "^26.0.23", |
| 55 | + "@types/node": "^15.12.1", |
| 56 | + "@types/react": "^17.0.9", |
| 57 | + "@types/react-native": "^0.64.10", |
| 58 | + "@types/react-test-renderer": "^17.0.1", |
56 | 59 | "commitlint": "^11.0.0", |
57 | 60 | "eslint": "^7.2.0", |
58 | 61 | "eslint-config-prettier": "^7.0.0", |
|
63 | 66 | "prettier": "^2.0.5", |
64 | 67 | "react": "16.13.1", |
65 | 68 | "react-native": "0.63.4", |
66 | | - "react-native-builder-bob": "^0.18.0", |
67 | 69 | "release-it": "^14.2.2", |
68 | | - "typescript": "^4.1.3" |
| 70 | + "typescript": "^4.3.2" |
69 | 71 | }, |
70 | 72 | "peerDependencies": { |
71 | 73 | "react": "*", |
|
136 | 138 | "trailingComma": "es5", |
137 | 139 | "useTabs": false |
138 | 140 | }, |
139 | | - "react-native-builder-bob": { |
| 141 | + "@react-native-community/bob": { |
140 | 142 | "source": "src", |
141 | 143 | "output": "lib", |
142 | 144 | "targets": [ |
143 | 145 | "commonjs", |
144 | 146 | "module", |
145 | | - [ |
146 | | - "typescript", |
147 | | - { |
148 | | - "project": "tsconfig.build.json" |
149 | | - } |
150 | | - ] |
| 147 | + "typescript" |
151 | 148 | ] |
| 149 | + }, |
| 150 | + "dependencies": { |
| 151 | + "@react-native-community/bob": "^0.17.1", |
| 152 | + "react-native-gesture-handler": "^1.10.3", |
| 153 | + "react-native-maps": "^0.28.0", |
| 154 | + "react-native-reanimated": "^2.2.0", |
| 155 | + "react-native-svg": "^12.1.1" |
152 | 156 | } |
153 | 157 | } |
0 commit comments