🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More →
Socket
Book a DemoSign in
Socket

react-native-init

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-init

Create react native projects with native code based on react-native-cli

latest
Source
npmnpm
Version
0.58.10
Version published
Weekly downloads
143
180.39%
Maintainers
1
Weekly downloads
 
Created
Source

What can I do

1、Create project based on react-native-cli.
2、Download android sdk automatically without android studio.
3、Create android emulator automatically without android studio.
4、Run npm start or yarn start can launch android & ios simulator automatically.
5、Build android & ios app by shell script automatically.
6、Upload ios app to app-store by shell script automatically.
7、You don't need to care about how to install any more, just focus to write javascript code.

Requirements

  • macos
  • Install xcode 9.4+
  • Install node 8.3+
  • Install JDK 8

Android Studio is not required. We will use shell script to install sdk-platforms and sdk-tools.

You'd better install jdk8, not jdk10. Because jdk10 may make your app crash.

Install

npm install -g react-native-init@latest

OR

yarn global add react-native-init@latest

Create project

Open terminal and type script:

react-native-init YourProjectName

And then run your project:

cd YourProjectName

# For first time initialize.
node scripts/init

# Or yarn start
npm start

Options

npm

Using npm to install package whatever.

react-native-init YourProjectName --npm

If you don't append this parameter, we will check yarn at first, and then check npm when yarn is not installed.

Supported version

repositoryreact-native
< 0.7.00.54.* - 0.56.*
0.58.*0.58.*

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts