Skip to content

Run `react-native init` with specific react-native@version

Notifications You must be signed in to change notification settings

jacobbubu/rninit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rninit is an alternative to react-native-cli. With a --source argument, you can use a specific react-native version to initialize a new project.

Install

npm i -g rninit

Usage

Create a new react-native project using latest react-native version

rninit init [Project Name]

Create a new react-native project using a specific react-native version

rninit init [Project Name] --source [email protected]

Or using a github repo.

rninit init [Project Name] --source git+https://github.com/facebook/react-native.git#v0.14.2

Please refer to npm install for valid --source format.

As the original react-native-cli, we also support --verbose argument:

rninit init [Project Name] --source [email protected] --verbose

About

Run `react-native init` with specific react-native@version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published