https://github.com/uzyn/react-webpack-airbnbjs-boilerplate
Boilerplate for React and Webpack following Airbnb's JavaScript (ES6) Style Guide.
https://github.com/uzyn/react-webpack-airbnbjs-boilerplate
Last synced: 25 days ago
JSON representation
Boilerplate for React and Webpack following Airbnb's JavaScript (ES6) Style Guide.
- Host: GitHub
- URL: https://github.com/uzyn/react-webpack-airbnbjs-boilerplate
- Owner: uzyn
- License: mit
- Created: 2016-04-23T06:36:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T14:54:37.000Z (over 9 years ago)
- Last Synced: 2025-10-10T04:42:45.161Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-webpack-airbnbjs-boilerplate
Boilerplate for React and Webpack following [Airbnb's JavaScript (ES6) Style Guide](https://github.com/airbnb/javascript).
## What is this
- Simple `index.html` loading `bundle.js`.
- Starter `index.jsx` for React.
- All code following Airbnb's JavaScript (ES6) style guide with ESlint.
- Webpack dev server with automatic reloading. Start with: `npm start`.
- Deployment build with `npm run build`.
## Components
- [Babel](https://babeljs.io) for ES6 support
- [ESlint](http://eslint.org) for ES6 linting using Airbnb's JS style guide
- [Webpack](https://webpack.github.io) for bundling of JavaScript modules
- [React](https://facebook.github.io/react/) as front-end view library.
## How to use
1. `git clone` the repository or [download a zipped package](https://github.com/uzyn/react-webpack-airbnbjs-boilerplate/archive/master.zip).
2. Install dependencies
```bash
npm install
```
3. Start the dev server, code and enjoy! Browser should automatically refresh if you make any changes to the code.
```bash
npm start
```
Load [http://localhost:8080/](http://localhost:8080/) on your web browser.
4. For deployment, run `npm build` and upload `build/` to your server.
## Credits
This boilerplate is inspired by [jkup/webpack-react-starter](https://github.com/jkup/webpack-react-starter).
## License
MIT · [U-Zyn Chua](http://uzyn.com)