<commit_before># generator-mitchallen-react-component

<p align="left">
  <a href="https://travis-ci.org/mitchallen/generator-mitchallen-react-component">
    <img src="https://img.shields.io/travis/mitchallen/generator-mitchallen-react-component.svg?style=flat-square" alt="Continuous Integration">
  </a>
  <a href="https://codecov.io/gh/mitchallen/generator-mitchallen-react-component">
    <img src="https://codecov.io/gh/mitchallen/generator-mitchallen-react-component/branch/master/graph/badge.svg" alt="Coverage Status">
  </a>
  <a href="https://npmjs.org/package/generator-mitchallen-react-component">
    <img src="http://img.shields.io/npm/dt/generator-mitchallen-react-component.svg?style=flat-square" alt="Downloads">
  </a>
  <a href="https://npmjs.org/package/generator-mitchallen-react-component">
    <img src="http://img.shields.io/npm/v/generator-mitchallen-react-component.svg?style=flat-square" alt="Version">
  </a>
  <a href="https://npmjs.com/package/generator-mitchallen-react-component">
    <img src="https://img.shields.io/github/license/mitchallen/generator-mitchallen-react-component.svg" alt="License"></a>
  </a>
</p>


> react component project generator

## Installation

First, install [Yeoman](http://yeoman.io) and generator-mitchallen-react-component using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

__Note:__ You may need to preface ```npm install -g``` commands with ```sudo```.

```bash
npm install -g yo
npm install -g generator-mitchallen-react-component
```

### Create and Generate Project

Then generate your new project:

```bash
mkdir myproject
cd myproject
yo mitchallen-react-component
```

### Skip Tests

To skip running tests after package creation, use the __--notest__ flag:

```bash
yo mitchallen-react-component --notest
```

* * *

## How-To Article

For more detailed instructions, see this article:

* [How to Create a React Component Project](http://scriptable.com/create-react-component-project/)

* * *

## Continuous Integration Support

There seems to be issues running [webpack](https://webpack.github.io/) under [TravisCI](https://travis-ci.org). So I've made the following changes:

* Added support for [CircleCI](https://circleci.com/)
  * Generated projects will now create the following hidden folder and file:
    * ```.circleci/config.yml```
    * You can see it on a Mac/Linux with: ```ls -la```
* The badge and link generated in the README now point to your project on CircleCI
* You are now prompted for your CirclCI username instead of your Travis CI username
* A ```.travis.yml``` file will still be generated, but currently leads to a failed build under Linux (Ubuntu Precise and Ubuntu Trusty)
* You can track my bug report here:  
  * https://github.com/travis-ci/travis-ci/issues/8265
* When resolved I'll restore support for Travis CI


* * *

## Getting To Know Yeoman

 * [Learn more about Yeoman](http://yeoman.io/).

* * *

## Testing

### Install Test Framework

To run the generator tests you will need to globally install __jest__ (http://facebook.github.io/jest/).

```bash
npm install -g jest jest-cli
```

To test, go to the root folder and type:

    npm test

* * *

## License

MIT © [<NAME>](http://mitchallen.com)
 
* * *

## Version History

### Version 0.0.39<commit_msg>updated doc regarding Travis CI<commit_after># generator-mitchallen-react-component

<p align="left">
  <a href="https://travis-ci.org/mitchallen/generator-mitchallen-react-component">
    <img src="https://img.shields.io/travis/mitchallen/generator-mitchallen-react-component.svg?style=flat-square" alt="Continuous Integration">
  </a>
  <a href="https://codecov.io/gh/mitchallen/generator-mitchallen-react-component">
    <img src="https://codecov.io/gh/mitchallen/generator-mitchallen-react-component/branch/master/graph/badge.svg" alt="Coverage Status">
  </a>
  <a href="https://npmjs.org/package/generator-mitchallen-react-component">
    <img src="http://img.shields.io/npm/dt/generator-mitchallen-react-component.svg?style=flat-square" alt="Downloads">
  </a>
  <a href="https://npmjs.org/package/generator-mitchallen-react-component">
    <img src="http://img.shields.io/npm/v/generator-mitchallen-react-component.svg?style=flat-square" alt="Version">
  </a>
  <a href="https://npmjs.com/package/generator-mitchallen-react-component">
    <img src="https://img.shields.io/github/license/mitchallen/generator-mitchallen-react-component.svg" alt="License"></a>
  </a>
</p>


> react component project generator

## Installation

First, install [Yeoman](http://yeoman.io) and generator-mitchallen-react-component using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

__Note:__ You may need to preface ```npm install -g``` commands with ```sudo```.

```bash
npm install -g yo
npm install -g generator-mitchallen-react-component
```

### Create and Generate Project

Then generate your new project:

```bash
mkdir myproject
cd myproject
yo mitchallen-react-component
```

### Skip Tests

To skip running tests after package creation, use the __--notest__ flag:

```bash
yo mitchallen-react-component --notest
```

* * *

## How-To Article

For more detailed instructions, see this article:

* [How to Create a React Component Project](http://scriptable.com/create-react-component-project/)

* * *

## Continuous Integration Support

There seems to be issues running [webpack](https://webpack.github.io/) under [TravisCI](https://travis-ci.org). So I've made the following changes:

* Added support for [CircleCI](https://circleci.com/)
  * Generated projects will now create the following hidden folder and file:
    * ```.circleci/config.yml```
    * You can see it on a Mac/Linux with: ```ls -la```
* The badge and link generated in the README now point to your project on CircleCI
* You are now prompted for your CircleCI username instead of your Travis CI username
* A ```.travis.yml``` file is no longer generated
* You can track my bug report here:  
  * https://github.com/travis-ci/travis-ci/issues/8265
* When resolved I'll restore support for Travis CI


* * *

## Getting To Know Yeoman

 * [Learn more about Yeoman](http://yeoman.io/).

* * *

## Testing

### Install Test Framework

To run the generator tests you will need to globally install __jest__ (http://facebook.github.io/jest/).

```bash
npm install -g jest jest-cli
```

To test, go to the root folder and type:

    npm test

* * *

## License

MIT © [<NAME>](http://mitchallen.com)
 
* * *

## Version History

### Version 0.0.40

* Updated doc regarding Travis CI

### Version 0.0.39
{'fraction_non_alphanumeric': 0.14866696791685494, 'fraction_numerical': 0.0030125018828136767, 'mean_word_length': 4.228346456692913, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, 'https://': 28, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1283197', 'n_tokens_mistral': 2230, 'n_tokens_neox': 2135, 'n_words': 566}