5.0.0 • Published 3 years ago
@rebox/native-utils v5.0.0
@rebox/native-utils
Set of common helpers to deal with React Native on iOS and Android.
Install
$ yarn add @rebox/native-utils
API
type TBuildJsBundleOptions = {
entryPointPath: string,
outputPath: string,
platform: 'ios' | 'android'
}
const buildNativeJsBundle: (options: TBuildJsBundleOptions) => Promise<string>
type TServeNativeJsBundleOptions = {
entryPointPath: string,
port: number,
platform: 'ios' | 'android',
isDev?: boolean, // `&dev=`, true by default
shouldMinify?: boolean // `&minify=`, false by default
}
const serveNativeJsBundle: (options: TServeNativeJsBundleOptions) => Promise<() => void>
type TCopyNativeTemplateOptions = {
projectPath: string,
platform: 'ios' | 'android'
}
const copyNativeTemplate: (options: TCopyNativeTemplateOptions) => Promise<void>
5.0.0
3 years ago
4.0.5
3 years ago
4.0.4
4 years ago
4.0.3
4 years ago
4.0.2
4 years ago
4.0.1
4 years ago
4.0.0
4 years ago
3.1.0
4 years ago
3.0.4
4 years ago
3.0.2
4 years ago
3.0.3
4 years ago
3.0.1
4 years ago
3.0.0
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago