keidrun / boilerplate-react

Boilerplate of React with Webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boilerplate-react devDependency Status

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.
  2. Install modules via yarn install or npm install.
  3. Install Flow types via yarn run flow-typed or npm run flow-typed.
  4. Execute yarn start or npm start and See http://localhost:8080/ on your Chrome.
  5. Enjoy developing your web site.

About

Boilerplate of React with Webpack.

License:MIT License


Languages

Language:JavaScript 83.5%Language:CSS 13.8%Language:HTML 2.6%