bamlab/generator-rn-toolbox
关于
用于快速搭建应用的 React Native 生成器
网站与应用开发可以做什么
- Linting -- yo rn-toolbox:lint
- Base project -- yo rn-toolbox:base
- Advanced project -- yo rn-toolbox:advanced-base
- Jest -- yo rn-toolbox:jest
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
React Native Toolbox

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
Already available:
- Updated Icons generation with Android adaptive icons
- Updated SplashScreen generation with iOS .xib files and ready for react-native-splashscreen
Features
In an existing React Native project, our generator contains sub-generators that will help you with:
- Setup
- Linting --
yo rn-toolbox:lint - Base project --
yo rn-toolbox:base - Advanced project --
yo rn-toolbox:advanced-base - Jest --
yo rn-toolbox:jest - Fastlane setup for multiple environments --
yo rn-toolbox:fastlane-setup - Fastlane environment instantiation --
yo rn-toolbox:fastlane-env - Icons and Splashscreen generation --
yo rn-toolbox:assets [--icon | --splash] <path>
- Linting --
- Environment
- Visual Studio Code --
yo rn-toolbox:vscode
- Visual Studio Code --
- Continuous integration / deployment
- TravisCI --
yo rn-toolbox:travisci - Bitrise for continuous deployment --
yo rn-toolbox:bitrise - CircleCI for continuous deployment --
yo rn-toolbox:circleci
- TravisCI --
Requirements
- You need
node > 6installed - 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.
If starting from scratch, use the react-native init <ProjectName> && cd <ProjectName> command to instantiate your React Native Project (for more go see the official React Native getting started).
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
Local development
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.
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
探索相关项目
加载中…