callstack / react-native-builder-bob

πŸ‘·β€β™‚οΈ Simple set of CLIs to scaffold and build React Native libraries for different targets

Home Page:https://callstack.github.io/react-native-builder-bob/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bob

create-react-native-library react-native-builder-bob MIT License

πŸ‘·β€β™‚οΈ Set of CLIs to scaffold and build React Native libraries for different targets.

Documentation

Documentation is available at https://callstack.github.io/react-native-builder-bob/.

Development workflow

This project uses a monorepo using yarn. To setup the project, run yarn in the root directory to install the required dependencies.

yarn

While developing, you can run watch mode to automatically rebuild the changes:

yarn watch

To test the CLI locally, you can point to the appropriate executable:

../bob/packages/create-react-native-library/bin/create-react-native-library

Before sending a pull request, make sure your code passes TypeScript and ESLint. Run the following to verify:

yarn typecheck
yarn lint

To fix formatting errors, run the following:

yarn lint --fix

The documentation for the project is under docs directory. To run the documentation locally, run the following:

yarn docs dev

Acknowledgments

Thanks to the authors of these libraries for inspiration:

Alternatives

There are other similar tools to scaffold React Native libraries. The difference is that the generated project with create-react-native-library is very opinionated and configured with additional tools.

LICENSE

MIT

About

πŸ‘·β€β™‚οΈ Simple set of CLIs to scaffold and build React Native libraries for different targets

https://callstack.github.io/react-native-builder-bob/


Languages

Language:JavaScript 96.9%Language:TypeScript 1.9%Language:Java 0.4%Language:Kotlin 0.4%Language:Objective-C++ 0.2%Language:Objective-C 0.1%Language:Ruby 0.1%Language:Swift 0.0%Language:C++ 0.0%Language:CMake 0.0%Language:C 0.0%Language:Batchfile 0.0%