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 > 6installed
- Ruby >
2.2.3* [ ] Ruby >
- Bundler installed (
gem install bundler)
- Yeoman installed (
npm i -g yo)
- Yarn installed (
brew install yarn)
Install the main
npm install -g yo generator-rn-toolbox
To run the generator with your local version:
git clone https://github.com/bamlab/generator-rn-toolbox.gitcd generator-rn-toolboxnpm link
When you're done, you can run
npm unlink to stop using your local version.