Generates a node module to include in a react-native application
- Basic structure for a react-native module
- ES6 support with babel
- Linting with XO
- Basic unit test support with jest
First, install Yeoman and generator-react-native-module using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-react-native-module
Then generate your new project:
yo react-native-module
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.
MIT © Daniel Schmidt