@callstack/react-native-brownfield 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -185
- package/android/gradle.properties +3 -0
- package/android/proguard-rules.pro +1 -1
- package/ios/ReactNativeBrownfieldModule.h +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/scripts/brownfield.js +3 -0
- package/lib/commonjs/scripts/brownfield.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/scripts/brownfield.js +3 -0
- package/lib/module/scripts/brownfield.js.map +1 -0
- package/lib/typescript/commonjs/src/scripts/brownfield.d.ts +3 -0
- package/lib/typescript/commonjs/src/scripts/brownfield.d.ts.map +1 -0
- package/lib/typescript/module/src/scripts/brownfield.d.ts +3 -0
- package/lib/typescript/module/src/scripts/brownfield.d.ts.map +1 -0
- package/package.json +26 -99
- package/src/scripts/brownfield.ts +5 -0
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<a href="https://www.callstack.com/open-source?utm_campaign=generic&utm_source=github&utm_medium=referral&utm_content=react-native-brownfield" align="center">
|
|
2
|
-
<img alt="React Native Brownfield" src="https://github.com/
|
|
2
|
+
<img alt="React Native Brownfield" src="https://github.com/callstack/react-native-brownfield/raw/refs/heads/main/img/brownfield-banner.jpg">
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
@@ -30,196 +30,16 @@
|
|
|
30
30
|
- Works well with **any native navigation** pattern, as well as any React Native JavaScript-based navigation
|
|
31
31
|
- Compatible with all native languages **Objective-C**, **Swift**, **Java** and **Kotlin**
|
|
32
32
|
- Supports UIKit and SwiftUI on iOS and Fragments and Jetpack Compose on Android
|
|
33
|
+
- Out-of-the-box **CLI** that automates the build process
|
|
33
34
|
|
|
34
|
-
##
|
|
35
|
+
## Documentation
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
| --------------------------- | ------------------------------- |
|
|
38
|
-
| 0.81.x, 0.82.x | ^2.0.0-rc.0 |
|
|
39
|
-
| 0.78.x | ^1.2.0 |
|
|
40
|
-
|
|
41
|
-
## Installation
|
|
42
|
-
|
|
43
|
-
The React Native Brownfield library is intended to be installed in a React Native app that is later consumed as a framework artifact by your native iOS or Android app.
|
|
44
|
-
|
|
45
|
-
In your React Native project run:
|
|
46
|
-
|
|
47
|
-
```sh
|
|
48
|
-
npm install @callstack/react-native-brownfield
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Usage
|
|
37
|
+
For full documentation, visit [our documentation](https://oss.callstack.com/react-native-brownfield/).
|
|
52
38
|
|
|
53
39
|
<a href="https://www.callstack.com/ebooks/incremental-react-native-adoption-in-native-apps?utm_campaign=brownfield&utm_source=github&utm_medium=referral&utm_content=react-native-brownfield" align="center">
|
|
54
40
|
<img alt="Download a free copy of Incremental React Native adoption in native apps ebook" src="https://github.com/user-attachments/assets/ba42bb29-1e7a-4683-80c5-2602afb1a7e6">
|
|
55
41
|
</a>
|
|
56
42
|
|
|
57
|
-
### Packaging React Native app as a framework
|
|
58
|
-
|
|
59
|
-
First, we need to package our React Native app as an XCFramework or Fat-AAR.
|
|
60
|
-
|
|
61
|
-
#### With Rock
|
|
62
|
-
|
|
63
|
-
Follow [Integrating with Native Apps](https://www.rockjs.dev/docs/brownfield/intro) steps in Rock docs and run:
|
|
64
|
-
|
|
65
|
-
- `rock package:ios` for iOS
|
|
66
|
-
- `rock package:aar` for Android
|
|
67
|
-
|
|
68
|
-
#### With custom scripts
|
|
69
|
-
|
|
70
|
-
Instead of using Rock, you can create your own custom packaging scripts. Here are base versions for iOS and Android that you'll need to adjust for your project-specific setup:
|
|
71
|
-
|
|
72
|
-
- [Example iOS script](https://github.com/callstackincubator/modern-brownfield-ref/blob/main/scripts/build-xcframework.sh)
|
|
73
|
-
- [Example Android script](https://github.com/callstackincubator/modern-brownfield-ref/blob/main/scripts/build-aar.sh)
|
|
74
|
-
|
|
75
|
-
### Native iOS app
|
|
76
|
-
|
|
77
|
-
In your native iOS app, initialize React Native and display it where you like. For example, to display React Native views in SwiftUI, use the provided `ReactNativeView` component:
|
|
78
|
-
|
|
79
|
-
```swift
|
|
80
|
-
import SwiftUI
|
|
81
|
-
import ReactBrownfield # exposed by RN app framework
|
|
82
|
-
|
|
83
|
-
@main
|
|
84
|
-
struct MyApp: App {
|
|
85
|
-
init() {
|
|
86
|
-
ReactNativeBrownfield.shared.startReactNative {
|
|
87
|
-
print("React Native bundle loaded")
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
var body: some Scene {
|
|
92
|
-
WindowGroup {
|
|
93
|
-
ContentView()
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
struct ContentView: View {
|
|
99
|
-
var body: some View {
|
|
100
|
-
NavigationView {
|
|
101
|
-
VStack {
|
|
102
|
-
Text("Welcome to the Native App")
|
|
103
|
-
.padding()
|
|
104
|
-
|
|
105
|
-
NavigationLink("Push React Native Screen") {
|
|
106
|
-
ReactNativeView(moduleName: "ReactNative")
|
|
107
|
-
.navigationBarHidden(true)
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
For more detailed instructions and API for iOS, see docs for:
|
|
116
|
-
|
|
117
|
-
- [Objective C](docs/OBJECTIVE_C.md)
|
|
118
|
-
- [Swift](docs/SWIFT.md)
|
|
119
|
-
|
|
120
|
-
### Native Android app
|
|
121
|
-
|
|
122
|
-
In your native Android app, create a new `RNAppFragment.kt`:
|
|
123
|
-
|
|
124
|
-
```kt
|
|
125
|
-
|
|
126
|
-
import android.os.Bundle
|
|
127
|
-
import android.view.LayoutInflater
|
|
128
|
-
import android.view.View
|
|
129
|
-
import android.view.ViewGroup
|
|
130
|
-
import androidx.fragment.app.Fragment
|
|
131
|
-
|
|
132
|
-
class RNAppFragment : Fragment() {
|
|
133
|
-
override fun onCreateView(
|
|
134
|
-
inflater: LayoutInflater,
|
|
135
|
-
container: ViewGroup?,
|
|
136
|
-
savedInstanceState: Bundle?,
|
|
137
|
-
): View? = ReactNativeBrownfield.shared.createView(activity, "BrownFieldTest")
|
|
138
|
-
}
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Add a button to your `activity_main.xml`:
|
|
142
|
-
|
|
143
|
-
```xml
|
|
144
|
-
<Button
|
|
145
|
-
android:id="@+id/show_rn_app_btn"
|
|
146
|
-
android:layout_width="wrap_content"
|
|
147
|
-
android:layout_height="wrap_content"
|
|
148
|
-
android:text="Show RN App"
|
|
149
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
150
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
151
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
152
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Add a fragment container:
|
|
156
|
-
|
|
157
|
-
```xml
|
|
158
|
-
<FrameLayout
|
|
159
|
-
android:id="@+id/fragmentContainer"
|
|
160
|
-
android:layout_width="match_parent"
|
|
161
|
-
android:layout_height="match_parent" />
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Update your `MainActivity` to initialize React Native and show the fragment:
|
|
165
|
-
|
|
166
|
-
```kt
|
|
167
|
-
class MainActivity : AppCompatActivity() {
|
|
168
|
-
private lateinit var showRNAppBtn: Button
|
|
169
|
-
|
|
170
|
-
override fun onCreate(savedInstanceState: Bundle?) {
|
|
171
|
-
super.onCreate(savedInstanceState)
|
|
172
|
-
ReactNativeHostManager.shared.initialize(this.application) {
|
|
173
|
-
println("JS bundle loaded")
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
showRNAppBtn = findViewById(R.id.show_rn_app_btn)
|
|
177
|
-
showRNAppBtn.setOnClickListener {
|
|
178
|
-
supportFragmentManager
|
|
179
|
-
.beginTransaction()
|
|
180
|
-
.replace(R.id.fragmentContainer, RNAppFragment())
|
|
181
|
-
.commit()
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
For more detailed instructions and API for Android, see docs for:
|
|
189
|
-
|
|
190
|
-
- [Java](docs/JAVA.md)
|
|
191
|
-
- [Kotlin](docs/KOTLIN.md)
|
|
192
|
-
|
|
193
|
-
### JavaScript Module
|
|
194
|
-
|
|
195
|
-
Besides native components, we are exposing JavaScript functions to control the behavior of those components from React Native app.
|
|
196
|
-
|
|
197
|
-
To use the module, import it:
|
|
198
|
-
|
|
199
|
-
```js
|
|
200
|
-
import ReactNativeBrownfield from '@callstack/react-native-brownfield';
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
and use the available methods:
|
|
204
|
-
|
|
205
|
-
#### setNativeBackGestureAndButtonEnabled(enabled: boolean)
|
|
206
|
-
|
|
207
|
-
A method used to toggle iOS native back gesture and Android hardware back button.
|
|
208
|
-
|
|
209
|
-
```ts
|
|
210
|
-
ReactNativeBrownfield.setNativeBackGestureAndButtonEnabled(true);
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
#### popToNative(animated[iOS only]: boolean)
|
|
214
|
-
|
|
215
|
-
A method to pop to native screen used to push React Native experience.
|
|
216
|
-
|
|
217
|
-
```ts
|
|
218
|
-
ReactNativeBrownfield.popToNative(true);
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
> **Note:** These methods work only with native components provided by this library.
|
|
222
|
-
|
|
223
43
|
## Made with ❤️ at Callstack
|
|
224
44
|
|
|
225
45
|
React Native Brownfield is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack](https://callstack.com) is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi!
|
|
@@ -243,6 +63,7 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-co
|
|
|
243
63
|
|
|
244
64
|
[build-badge]: https://img.shields.io/circleci/build/github/callstack/react-native-brownfield/master.svg?style=flat-square
|
|
245
65
|
[build]: https://circleci.com/gh/callstack/react-native-brownfield
|
|
66
|
+
[ci]: https://github.com/callstack/react-native-brownfield/actions/workflows/ci.yml/badge.svg
|
|
246
67
|
[version-badge]: https://img.shields.io/npm/v/@callstack/react-native-brownfield.svg?style=flat-square
|
|
247
68
|
[package]: https://www.npmjs.com/package/@callstack/react-native-brownfield
|
|
248
69
|
[license-badge]: https://img.shields.io/npm/l/@callstack/react-native-brownfield.svg?style=flat-square
|
|
@@ -254,7 +75,7 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-co
|
|
|
254
75
|
[all-contributors-badge]: https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square
|
|
255
76
|
[chat-badge]: https://img.shields.io/discord/613446453762719798.svg?style=flat-square&colorB=758ED3
|
|
256
77
|
[chat]: https://discord.gg/2SR9Mua
|
|
257
|
-
[tweet-badge]: https://img.shields.io/badge/tweet-%
|
|
78
|
+
[tweet-badge]: https://img.shields.io/badge/tweet-%23reactnativebrownfield-blue.svg?style=flat-square&colorB=1DA1F2&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAYAAACXtf2DAAAAAXNSR0IArs4c6QAAAaRJREFUOBGtlM8rBGEYx3cWtRHJRaKcuMtBSitxkCQ3LtzkP9iUUu5ODspRHLhRLtq0FxeicEBC2cOivcge%2FMgan3fNM8bbzL4zm6c%2BPT%2Fe7%2FO8887svrFYBWbbtgWzsAt3sAcpqJFxxF1QV8oJFqFPFst5dLWQAT87oTgPB7DtziFRT1EA4yZolsFkhwjGYFRO8Op0KD8HVe7unoB6PRTBZG8IctAmG1xrHcfkQ2B55sfI%2ByGMXSBqV71xZ8CWdxBxN6ThFuECDEAL%2Bc9HIzDYumVZ966GZnX0SzCZvEqTbkaGywkyFE6hKAsBPhFQ18uPUqh2ggJ%2BUor%2F4M%2F%2FzOC8g6YzR1i%2F8g4vvSI%2ByD7FFNjexQrjHd8%2BnjABI3AU4Wl16TuF1qANGll81jsi5qu%2Bw6XIsCn4ijhU5FmCJpkV6BGNw410hfSf6JKBQ%2FUFxHGYBnWnmOwDwYQ%2BwzdHqO75HtiAMJfaC7ph32FSRJCENUhDHsLaJkL%2FX4wMF4%2BwA5bgAcrZE4sr0Cu9Jq9fxyrvBHWbNkMD5CEHWTjjT2m6r5D92jfmbbKJEWuMMAAAAABJRU5ErkJggg%3D%3D
|
|
258
79
|
[tweet]: https://twitter.com/intent/tweet?text=Check%20out%20react-native-brownfield!%20https://github.com/callstack/react-native-brownfield%20%F0%9F%91%8D
|
|
259
80
|
[callstack-badge]: https://callstack.com/images/callstack-badge.svg
|
|
260
81
|
[callstack]: https://callstack.com/open-source/?utm_source=github.com&utm_medium=referral&utm_campaign=rnbrownfield&utm_term=readme
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
#import <ReactNativeBrownfield/ReactNativeBrownfield.h>
|
|
4
4
|
|
|
5
|
-
@interface ReactNativeBrownfieldModule :
|
|
5
|
+
@interface ReactNativeBrownfieldModule : NativeReactNativeBrownfieldModuleSpecBase <NativeReactNativeBrownfieldModuleSpec>
|
|
6
6
|
@end
|
|
7
7
|
|
|
8
8
|
#endif
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_brownfieldCli","require","runCLI","process","argv"],"sourceRoot":"../../../src","sources":["scripts/brownfield.ts"],"mappings":"AAAA;AAEA,IAAAA,cAAA,CAAAC,OAAA,8BAEA,GAAAC,qBAAM,EAACC,OAAO,CAACC,IAAI,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_brownfieldCli","require","runCLI","process","argv"],"sourceRoot":"../../../src","sources":["scripts/brownfield.ts"],"mappings":"AAAA;AAEA,IAAAA,cAAA,CAAAC,OAAA,8BAEA,GAAAC,qBAAM,EAACC,OAAO,CAACC,IAAI,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brownfield.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/brownfield.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brownfield.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/brownfield.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@callstack/react-native-brownfield",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Michal Chudziak <mike.chudziak@callstack.com>",
|
|
6
|
+
"bin": {
|
|
7
|
+
"brownfield": "lib/commonjs/scripts/brownfield.js"
|
|
8
|
+
},
|
|
6
9
|
"contributors": [
|
|
7
10
|
"Piotr Drapich <piotr.drapich@callstack.com>"
|
|
8
11
|
],
|
|
9
12
|
"homepage": "https://github.com/callstack/react-native-brownfield",
|
|
13
|
+
"repository": {
|
|
14
|
+
"url": "https://github.com/callstack/react-native-brownfield"
|
|
15
|
+
},
|
|
10
16
|
"description": "Brownfield helpers for React Native",
|
|
11
17
|
"main": "lib/commonjs/index",
|
|
12
18
|
"module": "lib/module/index",
|
|
@@ -26,11 +32,13 @@
|
|
|
26
32
|
"./package.json": "./package.json"
|
|
27
33
|
},
|
|
28
34
|
"scripts": {
|
|
29
|
-
"lint": "eslint .
|
|
35
|
+
"lint": "eslint .",
|
|
30
36
|
"typecheck": "tsc --noEmit",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"brownfield
|
|
37
|
+
"build": "bob build",
|
|
38
|
+
"dev": "nodemon --watch src --ext js,ts,json --exec \"bob build\"",
|
|
39
|
+
"build:brownfield": "yarn run build",
|
|
40
|
+
"prepack": "cp ../../README.md ./README.md",
|
|
41
|
+
"postpack": "rm ./README.md"
|
|
34
42
|
},
|
|
35
43
|
"keywords": [
|
|
36
44
|
"react-native-brownfield",
|
|
@@ -54,80 +62,34 @@
|
|
|
54
62
|
"!**/__tests__",
|
|
55
63
|
"!**/__fixtures__",
|
|
56
64
|
"!**/__mocks__",
|
|
57
|
-
"!**/.*"
|
|
65
|
+
"!**/.*",
|
|
66
|
+
"README.md"
|
|
58
67
|
],
|
|
59
68
|
"publishConfig": {
|
|
60
69
|
"access": "public"
|
|
61
70
|
},
|
|
62
|
-
"resolutions": {
|
|
63
|
-
"@types/react": "19.1.1"
|
|
64
|
-
},
|
|
65
71
|
"peerDependencies": {
|
|
66
72
|
"react": "*",
|
|
67
73
|
"react-native": "*"
|
|
68
74
|
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@callstack/brownfield-cli": "workspace:^"
|
|
77
|
+
},
|
|
69
78
|
"devDependencies": {
|
|
70
79
|
"@babel/core": "^7.25.2",
|
|
71
80
|
"@babel/preset-env": "^7.25.3",
|
|
72
81
|
"@babel/runtime": "^7.25.0",
|
|
73
82
|
"@react-native/babel-preset": "0.82.1",
|
|
74
|
-
"@
|
|
75
|
-
"@react-native/typescript-config": "0.82.1",
|
|
76
|
-
"@release-it/conventional-changelog": "^5.0.0",
|
|
77
|
-
"@types/jest": "^29.5.13",
|
|
83
|
+
"@types/jest": "^30.0.0",
|
|
78
84
|
"@types/react": "^19.1.1",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
84
|
-
"jest": "^29.6.3",
|
|
85
|
-
"prettier": "^3.5.3",
|
|
85
|
+
"eslint": "^9.28.0",
|
|
86
|
+
"globals": "^16.2.0",
|
|
87
|
+
"import": "^0.0.6",
|
|
88
|
+
"nodemon": "^3.1.11",
|
|
86
89
|
"react": "19.1.1",
|
|
87
90
|
"react-native": "0.82.1",
|
|
88
|
-
"react-native-builder-bob": "^0.
|
|
89
|
-
"
|
|
90
|
-
"release-it": "^18.1.2",
|
|
91
|
-
"typescript": "5.8.3"
|
|
92
|
-
},
|
|
93
|
-
"release-it": {
|
|
94
|
-
"git": {
|
|
95
|
-
"commitMessage": "chore: release ${version}",
|
|
96
|
-
"tagName": "v${version}"
|
|
97
|
-
},
|
|
98
|
-
"npm": {
|
|
99
|
-
"publish": true
|
|
100
|
-
},
|
|
101
|
-
"github": {
|
|
102
|
-
"release": true
|
|
103
|
-
},
|
|
104
|
-
"plugins": {
|
|
105
|
-
"@release-it/conventional-changelog": {
|
|
106
|
-
"preset": "angular"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"eslintConfig": {
|
|
111
|
-
"root": true,
|
|
112
|
-
"extends": [
|
|
113
|
-
"@react-native",
|
|
114
|
-
"prettier"
|
|
115
|
-
],
|
|
116
|
-
"plugins": [
|
|
117
|
-
"prettier"
|
|
118
|
-
],
|
|
119
|
-
"rules": {
|
|
120
|
-
"prettier/prettier": [
|
|
121
|
-
"error",
|
|
122
|
-
{
|
|
123
|
-
"quoteProps": "consistent",
|
|
124
|
-
"singleQuote": true,
|
|
125
|
-
"tabWidth": 2,
|
|
126
|
-
"trailingComma": "es5",
|
|
127
|
-
"useTabs": false
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
}
|
|
91
|
+
"react-native-builder-bob": "^0.40.17",
|
|
92
|
+
"typescript": "5.9.3"
|
|
131
93
|
},
|
|
132
94
|
"codegenConfig": {
|
|
133
95
|
"name": "ReactNativeBrownfield",
|
|
@@ -137,42 +99,7 @@
|
|
|
137
99
|
"javaPackageName": "com.callstack.reactnativebrownfield"
|
|
138
100
|
}
|
|
139
101
|
},
|
|
140
|
-
"prettier": {
|
|
141
|
-
"quoteProps": "consistent",
|
|
142
|
-
"singleQuote": true,
|
|
143
|
-
"tabWidth": 2,
|
|
144
|
-
"trailingComma": "es5",
|
|
145
|
-
"useTabs": false
|
|
146
|
-
},
|
|
147
|
-
"react-native-builder-bob": {
|
|
148
|
-
"source": "src",
|
|
149
|
-
"output": "lib",
|
|
150
|
-
"targets": [
|
|
151
|
-
[
|
|
152
|
-
"commonjs",
|
|
153
|
-
{
|
|
154
|
-
"esm": true,
|
|
155
|
-
"configFile": true
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
[
|
|
159
|
-
"module",
|
|
160
|
-
{
|
|
161
|
-
"esm": true,
|
|
162
|
-
"configFile": true
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
[
|
|
166
|
-
"typescript",
|
|
167
|
-
{
|
|
168
|
-
"project": "tsconfig.build.json",
|
|
169
|
-
"esm": true
|
|
170
|
-
}
|
|
171
|
-
]
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
102
|
"engines": {
|
|
175
103
|
"node": ">=20"
|
|
176
|
-
}
|
|
177
|
-
"packageManager": "yarn@3.6.4"
|
|
104
|
+
}
|
|
178
105
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 Callstack
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|