Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lewagon/react-boilerplate
https://github.com/lewagon/react-boilerplate
boilerplate es6 react
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lewagon/react-boilerplate
- Owner: lewagon
- Created: 2017-09-21T09:16:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T09:05:07.000Z (about 4 years ago)
- Last Synced: 2023-08-06T10:11:54.799Z (over 1 year ago)
- Topics: boilerplate, es6, react
- Language: JavaScript
- Size: 241 KB
- Stars: 47
- Watchers: 15
- Forks: 53
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-boilerplate
Simple react starter with the following config:
- React, ReactDOM
- Webpack 4
- Babel with es2015 and react presets
- Bootstrap (css only, loaded from a cdn in `index.html`)
- work with `.js` or `.jsx` files
- main `application.scss` stylesheet is imported in `index.js` as a module to enjoy hot reloading## Scripts
To start the local Webpack Dev Server (usually on port `8080`):
```bash
yarn start
```To lint all JavaScript files in the `src` folder:
```bash
yarn lint
```To build and deploy your app to `gh-pages` branch on the GitHub repo:
```bash
yarn deploy
```