react-native-training/haul

Name: haul

Owner: React Native Training

Description: Haul is a command line tool for developing React Native apps

Forked from: callstack/haul

Created: 2017-04-03 03:03:32.0

Updated: 2017-04-03 03:03:34.0

Pushed: 2017-04-02 16:27:48.0

Homepage:

Size: 275

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Haul

A command line tool for developing React Native apps


Features

Open: Haul is a drop-in replacement for react-native CLI built on open tools like Webpack.

Hackable: Provides a familiar environment by leveraging the Webpack ecosystem.

Just works: Built on top of battle tested open source projects, so you never hit annoying issues like symlink support.

Helpful: Designed from the ground up with helpful error messages to increase your productivity.

Getting started

Start by adding Haul as a dependency to your React Native project (use react-native init MyProject to create one if you don't have a project):

 add --dev haul-cli

To configure your project to use haul, run the following:

 run haul init

This will automatically add the configuration needed to make Haul work with your app, e.g. add webpack.haul.js to your project, which you can customise to add more functionality.

Next, you're ready to start the development server:

 run haul start -- --platform ios

Finally, reload your app to update the bundle or run your app just like you normally would:

t-native run-ios

Documentation

Check out the docs to learn more about available commands and tips on customizing the webpack configuration.

  1. CLI Commands
  2. Configuration
Limitations

Haul uses a completely different architecture from React Native packager, which means there are some things which don't work quite the same.

We are actively working on adding support for the following:

The following features are unlikely to be supported in the future:

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.