Yeoman generators generate assets of your react-native application.
As of now, the way those generators are configured is heavily opinionated and based on our own company needs.
- Icons and Splashscreen generation --
yo rn-toolbox:assets [--icon | --splash] <path>
- You need
node > 6
installed - Ruby >
2.2.3
* [ ] Ruby >2.2.3
- Bundler installed (
gem install bundler
) - Yeoman installed (
npm i -g yo
) - Yarn installed (
brew install yarn
)
Install the main yeoman
generator:
npm install -g yo generator-rn-toolbox
See our contributing guidelines
To run the generator with your local version:
git clone https://github.com/bamlab/generator-rn-toolbox.git
cd generator-rn-toolbox
npm link
When you're done, you can run npm unlink
to stop using your local version.