<commit_before>### What is it?

Reapp is everything you need to build amazing hybrid apps with React: a collection of
modules that work together, a UI kit, and our CLI that bootstraps your app and has a
pre-configured build server.

### Help

[![Join the chat at https://gitter.im/reapp/reapp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reapp/reapp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### Examples

We have two example apps you can check the source to:

 - [Kitchen Sink](https://github.com/reapp/kitchen-sink) ([demo](http://kitchen.reapp.io))
 - [Hacker News Reader](https://github.com/reapp/hacker-news-app) ([demo](http://hn.reapp.io))

### Installation

Installation is done through npm, though you can pick and choose any pieces you'd like
and roll your own stack. To get the reapp CLI:

```
npm install -g reapp
```

Once that's done you can generate a new base reapp stack with:

```
reapp new [name]
```

Where [name] is the name you'd like to give your new stack.

### CLI

The CLI has two main functions that it helps you with. The first is creating new apps.
For now, it simply makes a bare clone of a repo we keep updated with the current best-practice.
The goal is eventually to have a variety of baseline repo's to choose from.

It also lets you run your app, using [reapp-server](https://github.com/reapp/reapp-server),
a simple express server that works well with the default app structure.

CLI Usage:
```
Usage: reapp [command]

  new [name]  creates a directory with a new reapp-starter scaffold
  run         runs a reapp application with express/webpack-dev-server
  build       builds a reapp application to a bundle in ./build
  debug       use this to for opening issues!
  help [cmd]  display help for [cmd]
```

The build and run commands take a variety of options to help ease your development, such as:

```
Usage: reapp-run [options]

  -h, --help           output usage information
  -d, --debug          output extra information for debugging
  -p, --port [number]  specify a port [number]
  -h, --host [host]    specify hostname
  -e, --env [env]      specify an enivornment
  -t, --tool [tool]    specify a webpack devtool
```

```
Usage: reapp-build [options]

  -h, --help   output usage information
  -w, --watch  watch for changes
  -d, --debug  output extra information for debugging
  --no-assets  only build the js
  --no-js      only build the assets
```

### Running & Building Reapp

The `run` command has a few options to help you out. You can do:

- `reapp run -d` (debug) to output information on how it's running your app
- `reapp run -e production` (env=production) to run your app in production mode, which is much faster
- `reapp run -t source-map` (tool=source-map) to have full sourcemaps rather than the "eval" style sourcemaps we default to

You also have the same flags available as the run commands.

The `build` command is used once you're ready to deploy your app (to either the web or to cordova). For now,
we provide two types of builds:

- `reapp build` targets the web for mobile sites.
- `reapp build ios` targets cordova ios devices.
<commit_msg>Update README for -b option<commit_after>### What is it?

Reapp is everything you need to build amazing hybrid apps with React: a collection of
modules that work together, a UI kit, and our CLI that bootstraps your app and has a
pre-configured build server.

### Help

[![Join the chat at https://gitter.im/reapp/reapp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reapp/reapp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### Examples

We have two example apps you can check the source to:

 - [Kitchen Sink](https://github.com/reapp/kitchen-sink) ([demo](http://kitchen.reapp.io))
 - [Hacker News Reader](https://github.com/reapp/hacker-news-app) ([demo](http://hn.reapp.io))

### Installation

Installation is done through npm, though you can pick and choose any pieces you'd like
and roll your own stack. To get the reapp CLI:

```
npm install -g reapp
```

Once that's done you can generate a new base reapp stack with:

```
reapp new [name]
```

Where [name] is the name you'd like to give your new stack.

### CLI

The CLI has two main functions that it helps you with. The first is creating new apps.
For now, it simply makes a bare clone of a repo we keep updated with the current best-practice.
The goal is eventually to have a variety of baseline repo's to choose from.

It also lets you run your app, using [reapp-server](https://github.com/reapp/reapp-server),
a simple express server that works well with the default app structure.

CLI Usage:
```
Usage: reapp [command]

  new [name]  creates a directory with a new reapp-starter scaffold
  run         runs a reapp application with express/webpack-dev-server
  build       builds a reapp application to a bundle in ./build
  debug       use this to for opening issues!
  help [cmd]  display help for [cmd]
```

The build and run commands take a variety of options to help ease your development, such as:

```
Usage: reapp-run [options]

  -h, --help           output usage information
  -d, --debug          output extra information for debugging
  -p, --port [number]  specify a port [number]
  -h, --host [host]    specify hostname
  -b, --bind [address] specify bind address if different from host
  -e, --env [env]      specify an enivornment
  -t, --tool [tool]    specify a webpack devtool
```

```
Usage: reapp-build [options]

  -h, --help   output usage information
  -w, --watch  watch for changes
  -d, --debug  output extra information for debugging
  --no-assets  only build the js
  --no-js      only build the assets
```

### Running & Building Reapp

The `run` command has a few options to help you out. You can do:

- `reapp run -d` (debug) to output information on how it's running your app
- `reapp run -e production` (env=production) to run your app in production mode, which is much faster
- `reapp run -t source-map` (tool=source-map) to have full sourcemaps rather than the "eval" style sourcemaps we default to

You also have the same flags available as the run commands.

The `build` command is used once you're ready to deploy your app (to either the web or to cordova). For now,
we provide two types of builds:

- `reapp build` targets the web for mobile sites.
- `reapp build ios` targets cordova ios devices.

{'fraction_non_alphanumeric': 0.09612089110453341, 'fraction_numerical': 0.0006231500233681258, 'mean_word_length': 3.498948843728101, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4750178', 'n_tokens_mistral': 1976, 'n_tokens_neox': 1909, 'n_words': 896}