@@ -62,7 +62,8 @@ Options:
6262
6363 --help output usage information
6464 --prefix <prefix> The prefix for the library (Default: ``)
65- --module-prefix <modulePrefix> The module prefix for the library (Default: `react-native`)
65+ --module-name <moduleName> The module library package name to be used in package.json. Default: react-native-(name in param-case)
66+ --module-prefix <modulePrefix> The module prefix for the library, ignored if --module-name is specified (Default: `react-native`)
6667 --package-identifier <packageIdentifier> (Android only!) The package name for the Android module (Default: `com.reactlibrary`)
6768 --platforms <platforms> Platforms the library will be created for. (comma separated; default: `ios,android`)
6869 --github-account <github_account> The github account where the library is hosted (Default: `github_account`)
@@ -91,7 +92,8 @@ createLibrary({
9192{
9293 name: String , /* The name of the library (Default: Library) */
9394 prefix: String , /* The prefix for the library (Default: RN) */
94- modulePrefix: String , /* The module prefix for the library (Default: react-native) */
95+ moduleName: String , /* The module library package name to be used in package.json. Default: react-native-(name in param-case) */
96+ modulePrefix: String , /* The module prefix for the library, ignored if moduleName is specified (Default: react-native) */
9597 platforms: Array , /* Platforms the library will be created for. (Default: ['ios', 'android']) */
9698 packageIdentifier: String , /* (Android only!) The package name for the Android module (Default: com.reactlibrary) */
9799 githubAccount: String , /* The github account where the library is hosted (Default: `github_account`) */
0 commit comments