|
2 | 2 | "name": "@baronha/react-native-multiple-image-picker",
|
3 | 3 | "version": "2.0.3",
|
4 | 4 | "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", |
8 | 8 | "react-native": "src/index",
|
9 | 9 | "source": "src/index",
|
10 | 10 | "files": [
|
|
27 | 27 | "README.md"
|
28 | 28 | ],
|
29 | 29 | "scripts": {
|
30 |
| - "postinstall": "tsc || exit 0;", |
31 |
| - "typecheck": "tsc --noEmit", |
| 30 | + "typecheck": "tsc --project tsconfig.build.json --noEmit", |
32 | 31 | "clean": "rm -rf android/build node_modules/**/android/build lib",
|
33 | 32 | "lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
34 | 33 | "lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
|
|
37 | 36 | "nitro": "yarn nitro-codegen",
|
38 | 37 | "example": "yarn --cwd MultipleImagePickerExample",
|
39 | 38 | "pod": "cd MultipleImagePickerExample && pod-install --quiet",
|
40 |
| - "bootstrap": "yarn example && yarn && yarn pod" |
| 39 | + "bootstrap": "yarn example && yarn && yarn pod", |
| 40 | + "prepare": "bob build" |
41 | 41 | },
|
42 | 42 | "keywords": [
|
43 | 43 | "react-native",
|
|
109 | 109 | "trailingComma": "es5",
|
110 | 110 | "useTabs": false,
|
111 | 111 | "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 | + ] |
112 | 126 | }
|
113 | 127 | }
|
0 commit comments