Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bamlab/generator-rn-toolbox
The React Native Generator to bootstrap your apps
https://github.com/bamlab/generator-rn-toolbox
generator jest react-native travis travis-ci vscode vscode-configs wallaby yarn yeoman
Last synced: 6 days ago
JSON representation
The React Native Generator to bootstrap your apps
- Host: GitHub
- URL: https://github.com/bamlab/generator-rn-toolbox
- Owner: bamlab
- License: mit
- Created: 2016-09-07T23:19:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T18:48:24.000Z (about 2 years ago)
- Last Synced: 2024-11-29T03:07:25.946Z (13 days ago)
- Topics: generator, jest, react-native, travis, travis-ci, vscode, vscode-configs, wallaby, yarn, yeoman
- Language: JavaScript
- Homepage:
- Size: 2.45 MB
- Stars: 1,196
- Watchers: 24
- Forks: 119
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - generator-rn-toolbox ★800 - Yeoman generators to kickstart your project and setup continuous deployment. (Components / Build & Development)
- awesome-react-native - generator-rn-toolbox
- awesome-react-native - generator-rn-toolbox ★800 - Yeoman generators to kickstart your project and setup continuous deployment. (Components / Build & Development)
- awesome-react-native - generator-rn-toolbox ★800 - Yeoman generators to kickstart your project and setup continuous deployment. (Components / Build & Development)
- awesome-react-native - generator-rn-toolbox ★800 - Yeoman generators to kickstart your project and setup continuous deployment. (Components / Build & Development)
- awesome-react-native-ui - generator-rn-toolbox ★99 - Yeoman generators to kickstart your project and setup continuous deployment. (Components / Build & Development)
README
# React Native Toolbox [![Build Status](https://travis-ci.org/bamlab/generator-rn-toolbox.svg?branch=master)](https://travis-ci.org/bamlab/generator-rn-toolbox) [![NPM downloads](https://img.shields.io/npm/dm/generator-rn-toolbox.svg)](https://www.npmjs.com/package/generator-rn-toolbox) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()
Yeoman generators to kickstart your react-native v0.48+ projects.
## ⚠️ Deprecation notice ⚠️
> **Dear user**, we are working on a complete rewrite of generator-rn-toolbox
>
> We are be deprecating this repo and migrating its features to [react-native-make](https://github.com/bamlab/react-native-make)
>
> Already available:
>
> - Updated Icons generation with [Android adaptive icons](https://medium.com/google-design/designing-adaptive-icons-515af294c783)
> - Updated SplashScreen generation with iOS _.xib_ files and ready for [react-native-splashscreen](https://github.com/crazycodeboy/react-native-splash-screen)## Features
In an existing React Native project, our generator contains sub-generators that will help you with:
- Setup
- [Linting](generators/lint/README.md) -- `yo rn-toolbox:lint`
- [Base project](generators/base/README.md) -- `yo rn-toolbox:base`
- [Advanced project](generators/advanced-base/README.md) -- `yo rn-toolbox:advanced-base`
- [Jest](generators/jest/README.md) -- `yo rn-toolbox:jest`
- [Fastlane setup for multiple environments](generators/fastlane-setup/README.md) -- `yo rn-toolbox:fastlane-setup`
- [Fastlane environment instantiation](generators/fastlane-env/README.md) -- `yo rn-toolbox:fastlane-env`
- [Icons and Splashscreen generation](generators/assets/README.md) -- `yo rn-toolbox:assets [--icon | --splash] `
- Environment
- [Visual Studio Code](generators/vscode/README.md) -- `yo rn-toolbox:vscode`
- Continuous integration / deployment
- [TravisCI](generators/travisci/README.md) -- `yo rn-toolbox:travisci`
- [Bitrise for continuous deployment](generators/bitrise/README.md) -- `yo rn-toolbox:bitrise`
- [CircleCI for continuous deployment](generators/circleci/README.md) -- `yo rn-toolbox:circleci`## Requirements
- [ ] You need `node > 6` installed
- [ ] Ruby > `2.2.3`
- [ ] Bundler installed (`gem install bundler`)
- [ ] Yeoman installed (`npm i -g yo`)
- [ ] Yarn installed (`brew install yarn`)## Usage
Install the main `yeoman` generator:
```
npm install -g yo generator-rn-toolbox
```Then follow the docs for any sub-generator listed above in the [features](https://github.com/bamlab/generator-rn-toolbox#features).
If starting from scratch, use the `react-native init && cd ` command to instantiate your React Native Project (for more [go see the official React Native getting started](https://facebook.github.io/react-native/docs/getting-started.html)).
It is recommended to initiate the git repository right after instantiating the app and to do you first commit.
It is also recommended to do a separate commit after running each of these steps.
## Contributing
See [our contributing guidelines](https://bamlab.github.io/open-source/#contributing)
### Local development
To run the generator with your local version:
```shell
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.
### Disclaimer
_To better understand your usage of this tool, basic analytics have been enabled. It only records generators usage as anonymous page views and does not track any user information_