@gigster/block-create-react-native-app

2.0.0 • Public • Published

block-create-react-native-app

Role Name Email Slack
Product Owner Frances Haugen frances@gigster.com [@frances]
Maintainer Casey Barbello casey@gigster.com [@casey]
Maintainer Mark Miyashita mark.miyashita@gigster.com [@mark]

Overview

This block generates a simple React Native mobile app using create-react-native-app v1.0.0 as a boilerplate that we modify.

Usage

Add the following to your gig.yaml to create a new block called mobile using block-create-react-native-app. Make sure to replace VERSION with the specific version of the module. The latest version can be found here.

blocks:
  - name: mobile
    location: 'npm:@gigster/block-create-react-native-app@VERSION'

After generating your project, you can cd into the new mobile directory. To launch the packager, simply run:

yarn install
yarn start

From there you will have options to run your app on a mobile device or emulator.

Note: The packager may request that you either install watchman or increase your file limits with the following commands:

sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288

You must do one of these to get your app up and running.

Readme

Keywords

none

Package Sidebar

Install

npm i @gigster/block-create-react-native-app

Weekly Downloads

16

Version

2.0.0

License

UNLICENSED

Unpacked Size

6.47 kB

Total Files

32

Last publish

Collaborators