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
- Host: GitHub
- URL: https://github.com/eddyerburgh/react-boilerplate
- Owner: eddyerburgh
- License: other
- Created: 2016-05-11T10:17:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T21:18:06.000Z (over 8 years ago)
- Last Synced: 2025-02-01T08:05:48.013Z (about 1 year ago)
- Topics: boilerplate, react, react-boilerplate, react-starter, webpack3
- Language: JavaScript
- Homepage:
- Size: 12 MB
- Stars: 18
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/).