An open API service indexing awesome lists of open source software.

https://github.com/eddyerburgh/react-boilerplate

🚀 Quickly start a react project with this boilerplate
https://github.com/eddyerburgh/react-boilerplate

boilerplate react react-boilerplate react-starter webpack3

Last synced: 6 months ago
JSON representation

🚀 Quickly start a react project with this boilerplate

Awesome Lists containing this project

README

          

# react-boilerplate

A super simple React Project setup using webpack 2.

It compiles scss into css and ES6 into ES5.

**NOTE: v1 is available on the [v1 branch](https://github.com/eddyerburgh/react-boilerplate/tree/v1)**

## Installation

Download the repository to your computer.

In your console, enter:

```
npm install
```

## Usage

To start the server:

```
npm run dev
```

This will start a server on [http://localhost:8080](http://localhost:8080). It will reload when you change your modules.

To build for production:

```
npm run build
```

The build script will produce an index.html, css file and JavaScript file in the dist file. Ready to deploy.

To lint your JavaScript:

```
npm test
```

## Features

* [React 15.4](https://github.com/facebook/react/releases/tag/v15.4.0)
* [Webpack 2](https://webpack.js.org/)
* [Cache Busting](https://www.keycdn.com/support/what-is-cache-busting/)
* ES2015 and stage-0 support with [Babel](https://babeljs.io/)
* Strict linting with the [AirBnB config](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb)

## Support

Please [open an issue](https://github.com/eddyerburgh/react-boilerplate/issues/new) for support.

## Contributing

Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/eddyerburgh/react-boilerplate/compare/).