<commit_before>React Quiz
==========

A React Quiz component developed by the [British Council](https://www.britishcouncil.org/).

## Usage

### To start the demo

```
npm install
npm start
open http://localhost:3000
```

### To run tests:
```
npm test -- --watch
```

## Credits

webpack setup based on [React Hot Boilerplate](https://github.com/gaearon/react-hot-boilerplate).<commit_msg>solas-5225: Added instructions on how to do a release to the README<commit_after>React Quiz
==========

A React Quiz component developed by the [British Council](https://www.britishcouncil.org/).

## Usage

### To start the demo

```
npm install
npm start
open http://localhost:3000
```

### To run tests:
```
npm test -- --watch
```

### Releasing
We use [Semantic Versioning](http://semver.org/) and bump versions using the `npm version` command ([see npm docs](https://docs.npmjs.com/cli/version)). We've defined `preversion`, `version` and `postversion`
hooks in `package.json`.

Releasing is a two step process. First we create a new version. Then we publish it.

Example:
```
npm version patch -m "Bug fix..."
```

This will:

1. Transpile the source files to ES5 using babel.
2. Change to the `dist` branch (which is an orphan branch that only includes the files we want to distribute).
3. Bump the version in package.json, commit and tag the release.

Check that you're in the `dist` branch and that the commit has been made. To publish, run:
```
npm publish ./
```

## Credits

webpack setup based on [React Hot Boilerplate](https://github.com/gaearon/react-hot-boilerplate).
{'fraction_non_alphanumeric': 0.14040660736975857, 'fraction_numerical': 0.010165184243964422, 'mean_word_length': 4.113636363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, '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': '4342157', 'n_tokens_mistral': 526, 'n_tokens_neox': 473, 'n_words': 191}