Skip to content

Commit b373eb9

Browse files
committed
Merge branch 'main' into feature/camera
2 parents 3dc490d + 5827642 commit b373eb9

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ Thanks go to these wonderful people:
161161
<sub><b>Chandu J S</b></sub>
162162
</a>
163163
</td>
164+
<td align="center">
165+
<a href="https://github.com/jeongshin">
166+
<img src="https://avatars.githubusercontent.com/u/64301935?v=4" width="100;" alt="jeongshin"/>
167+
<br />
168+
<sub><b>Huckleberry</b></sub>
169+
</a>
170+
</td>
164171
<td align="center">
165172
<a href="https://github.com/shafiqjefri">
166173
<img src="https://avatars.githubusercontent.com/u/126740667?v=4" width="100;" alt="shafiqjefri"/>
@@ -189,15 +196,15 @@ Thanks go to these wonderful people:
189196
<sub><b>Yogesh Mane</b></sub>
190197
</a>
191198
</td>
199+
</tr>
200+
<tr>
192201
<td align="center">
193202
<a href="https://github.com/ouabing">
194203
<img src="https://avatars.githubusercontent.com/u/1430376?v=4" width="100;" alt="ouabing"/>
195204
<br />
196205
<sub><b>abing</b></sub>
197206
</a>
198207
</td>
199-
</tr>
200-
<tr>
201208
<td align="center">
202209
<a href="https://github.com/hieuphan1030">
203210
<img src="https://avatars.githubusercontent.com/u/108206954?v=4" width="100;" alt="hieuphan1030"/>

package.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@baronha/react-native-multiple-image-picker",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "� react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android �",
5-
"main": "lib/index",
6-
"module": "lib/index",
7-
"types": "lib/index.d.ts",
5+
"main": "./lib/commonjs/index.js",
6+
"module": "./lib/module/index.js",
7+
"types": "./lib/typescript/index.d.ts",
88
"react-native": "src/index",
99
"source": "src/index",
1010
"files": [
@@ -27,8 +27,7 @@
2727
"README.md"
2828
],
2929
"scripts": {
30-
"postinstall": "tsc || exit 0;",
31-
"typecheck": "tsc --noEmit",
30+
"typecheck": "tsc --project tsconfig.build.json --noEmit",
3231
"clean": "rm -rf android/build node_modules/**/android/build lib",
3332
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
3433
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
@@ -37,7 +36,8 @@
3736
"nitro": "yarn nitro-codegen",
3837
"example": "yarn --cwd MultipleImagePickerExample",
3938
"pod": "cd MultipleImagePickerExample && pod-install --quiet",
40-
"bootstrap": "yarn example && yarn && yarn pod"
39+
"bootstrap": "yarn example && yarn && yarn pod",
40+
"prepare": "bob build"
4141
},
4242
"keywords": [
4343
"react-native",
@@ -109,5 +109,19 @@
109109
"trailingComma": "es5",
110110
"useTabs": false,
111111
"semi": false
112+
},
113+
"react-native-builder-bob": {
114+
"source": "src",
115+
"output": "lib",
116+
"targets": [
117+
"commonjs",
118+
"module",
119+
[
120+
"typescript",
121+
{
122+
"project": "tsconfig.build.json"
123+
}
124+
]
125+
]
112126
}
113127
}

tsconfig.build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
21
{
32
"extends": "./tsconfig",
4-
"exclude": ["example"]
3+
"exclude": ["example", "docs"]
54
}

0 commit comments

Comments
 (0)