Giter VIP home page Giter VIP logo

react-native-cli's Introduction

React Native CLI

Command Line Interface for React Native.

Build Status Version MIT License PRs Welcome

Note: CLI has been extracted from core react-native as a part of "Lean Core" effort. Please read this blog post for more details.

About

This repository contains tools and helpers for React Native projects in form of a CLI. We want to make a couple of things clear for you first:

  • this is a monorepo;
  • there are currently two CLIs: the actual one called @react-native-community/cli that does all the job and global react-native-cli which is used as its proxy;

We know it's confusing, but we're actively working to make this indirection gone.

Creating a new React Native project

To start a new React Native project, you'll need to install a global module react-native-cli and follow instructions there.

We strongly encourage you to only use global react-native-cli for bootstrapping new projects. Use local version for everything else.

Usage in existing React Native project

Once you're inside an existing project, a local react-native binary will be available for you to use. Feel free to use Yarn to call it directly.

Example running start command in terminal:

yarn react-native start
# or if you don't use Yarn:
node ./node_modules/.bin/react-native start

You can also add npm scripts to call it with whichever package manager you use:

{
  "scripts": {
    "start": "react-native start"
  }
}

License

Everything inside this repository is MIT licensed.

react-native-cli's People

Contributors

grabbou avatar thymikee avatar davidaurelio avatar martinbigio avatar rafeca avatar esemesek avatar cwdick avatar cpojer avatar frantic avatar hramos avatar foghina avatar gabelevi avatar yungsters avatar janicduplessis avatar lukaspiatkowski avatar vjeux avatar javache avatar dulmandakh avatar thesavior avatar bestander avatar gengjiawen avatar ide avatar joestanton avatar philikon avatar rozele avatar sam-swarr avatar tadeuzagallo avatar zertosh avatar avikchaudhuri avatar mkonicek avatar

Watchers

Chris Fanti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.