|
54 | 54 | "types": "./dist/index.d.ts" |
55 | 55 | }, |
56 | 56 | "./types": { |
57 | | - "types": "./dist/react-native-ui-datepicker/src/types.d.ts", |
58 | | - "require": "./dist/react-native-ui-datepicker/types.cjs", |
59 | | - "import": "./dist/react-native-ui-datepicker/types.js", |
60 | | - "react-native": "./dist/react-native-ui-datepicker/types.js" |
| 57 | + "types": "./dist/src/types.d.ts", |
| 58 | + "require": "./dist/types.cjs", |
| 59 | + "import": "./dist/types.js", |
| 60 | + "react-native": "./dist/types.js" |
61 | 61 | }, |
62 | 62 | "./enums": { |
63 | | - "types": "./dist/react-native-ui-datepicker/src/enums.d.ts", |
64 | | - "require": "./dist/react-native-ui-datepicker/enums.cjs", |
65 | | - "import": "./dist/react-native-ui-datepicker/enums.js", |
66 | | - "react-native": "./dist/react-native-ui-datepicker/enums.js" |
| 63 | + "types": "./dist/src/enums.d.ts", |
| 64 | + "require": "./dist/enums.cjs", |
| 65 | + "import": "./dist/enums.js", |
| 66 | + "react-native": "./dist/enums.js" |
67 | 67 | }, |
68 | 68 | "./utils": { |
69 | | - "types": "./dist/react-native-ui-datepicker/src/utils.d.ts", |
70 | | - "require": "./dist/react-native-ui-datepicker/utils.cjs", |
71 | | - "import": "./dist/react-native-ui-datepicker/utils.js", |
72 | | - "react-native": "./dist/react-native-ui-datepicker/utils.js" |
| 69 | + "types": "./dist/src/utils.d.ts", |
| 70 | + "require": "./dist/utils.cjs", |
| 71 | + "import": "./dist/utils.js", |
| 72 | + "react-native": "./dist/utils.js" |
73 | 73 | }, |
74 | 74 | "./assets/*": "./dist/assets/*" |
75 | 75 | }, |
76 | 76 | "typesVersions": { |
77 | 77 | "*": { |
78 | 78 | "types": [ |
79 | | - "./dist/react-native-ui-datepicker/src/types.d.ts" |
| 79 | + "./dist/src/types.d.ts" |
80 | 80 | ], |
81 | 81 | "enums": [ |
82 | | - "./dist/react-native-ui-datepicker/src/enums.d.ts" |
| 82 | + "./dist/src/enums.d.ts" |
83 | 83 | ], |
84 | 84 | "utils": [ |
85 | | - "./dist/react-native-ui-datepicker/src/utils.d.ts" |
| 85 | + "./dist/src/utils.d.ts" |
86 | 86 | ] |
87 | 87 | } |
88 | 88 | }, |
|
121 | 121 | "ts-node": "^10.9.1", |
122 | 122 | "typescript": "^4.5.2", |
123 | 123 | "vite": "^4.5.9", |
| 124 | + "vite-plugin-dts": "^3.6.4", |
124 | 125 | "vite-plugin-static-copy": "^2.2.0" |
125 | 126 | }, |
126 | 127 | "resolutions": { |
|
151 | 152 | "@semantic-release/commit-analyzer", |
152 | 153 | "@semantic-release/release-notes-generator", |
153 | 154 | "@semantic-release/changelog", |
154 | | - [ |
155 | | - "@semantic-release/npm", |
156 | | - { |
157 | | - "pkgRoot": "dist" |
158 | | - } |
159 | | - ], |
| 155 | + "@semantic-release/npm", |
160 | 156 | [ |
161 | 157 | "@semantic-release/git", |
162 | 158 | { |
163 | 159 | "assets": [ |
164 | 160 | "CHANGELOG.md", |
165 | 161 | "package.json", |
166 | | - "package-lock.json", |
167 | | - "dist/**/*.{js,cjs,mjs,png}" |
| 162 | + "package-lock.json" |
168 | 163 | ], |
169 | 164 | "message": "build(release): v${nextRelease.version} [release]" |
170 | 165 | } |
|
0 commit comments