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

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

Boilerplate of React with Webpack.
https://github.com/keidrun/boilerplate-react

boilerplate css css3 flow flow-typed flowtype postcss react react16 webpack webpack2

Last synced: 3 months ago
JSON representation

Boilerplate of React with Webpack.

Awesome Lists containing this project

README

        

# boilerplate-react [![devDependency Status][depstat-image]][depstat-url]

Boilerplate of React with Webpack.

## Description

This boilerplate provides an automatic web development environment with
`Webpack2` to develop `React(>=16)` and `PostCSS`.

## Automatic Settings

* transpile for CSS (PostCSS -> CSS)
* attache CSS (normalize.css & autoprefixer)
* lint for CSS (stylelint)
* transpile for JS (React -> ES5)
* lint for JS (ESLint & Flow)
* package (minify CSS & JS)

## Preconditions

* Installed `Chrome` browser.
* Installed `yarn` or `npm`.

## Steps

1. Clone this repository via `git`.
1. Install modules via `yarn install` or `npm install`.
1. Install Flow types via `yarn run flow-typed` or `npm run flow-typed`.
1. Execute `yarn start` or `npm start` and See `http://localhost:8080/` on your
Chrome.
1. Enjoy developing your web site.

[depstat-url]: https://david-dm.org/keidrun/boilerplate-react?type=dev
[depstat-image]: https://david-dm.org/keidrun/boilerplate-react/dev-status.svg