|
23 | 23 | }, |
24 | 24 | "homepage": "https://reactnavigation.org/docs/drawer-navigator/", |
25 | 25 | "source": "./src/index.tsx", |
26 | | - "main": "./lib/commonjs/index.js", |
27 | | - "module": "./lib/module/index.js", |
28 | | - "types": "./lib/typescript/commonjs/src/index.d.ts", |
| 26 | + "main": "./lib/module/index.js", |
29 | 27 | "exports": { |
30 | 28 | ".": { |
31 | | - "import": { |
32 | | - "types": "./lib/typescript/module/src/index.d.ts", |
33 | | - "default": "./lib/module/index.js" |
34 | | - }, |
35 | | - "require": { |
36 | | - "types": "./lib/typescript/commonjs/src/index.d.ts", |
37 | | - "default": "./lib/commonjs/index.js" |
38 | | - } |
39 | | - } |
| 29 | + "types": "./lib/typescript/src/index.d.ts", |
| 30 | + "default": "./lib/module/index.js" |
| 31 | + }, |
| 32 | + "./package.json": "./package.json" |
40 | 33 | }, |
41 | 34 | "files": [ |
42 | 35 | "src", |
|
65 | 58 | "del-cli": "^5.1.0", |
66 | 59 | "react": "18.3.1", |
67 | 60 | "react-native": "0.76.2", |
68 | | - "react-native-builder-bob": "^0.39.1", |
| 61 | + "react-native-builder-bob": "^0.40.0", |
69 | 62 | "react-native-gesture-handler": "~2.20.2", |
70 | 63 | "react-native-reanimated": "~3.16.1", |
71 | 64 | "react-native-safe-area-context": "4.12.0", |
|
85 | 78 | "source": "src", |
86 | 79 | "output": "lib", |
87 | 80 | "targets": [ |
88 | | - [ |
89 | | - "commonjs", |
90 | | - { |
91 | | - "esm": true |
92 | | - } |
93 | | - ], |
94 | 81 | [ |
95 | 82 | "module", |
96 | 83 | { |
|
100 | 87 | [ |
101 | 88 | "typescript", |
102 | 89 | { |
103 | | - "project": "tsconfig.build.json", |
104 | | - "esm": true |
| 90 | + "project": "tsconfig.build.json" |
105 | 91 | } |
106 | 92 | ] |
107 | 93 | ] |
|
0 commit comments