Apokryphos / react-template

Boilerplate setup for React projects. Babel, ESLint, Flow, Jest, React, SCSS and Webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Template

Boilerplate setup for React projects.

  • Babel
  • ESLint
  • Flow
  • Jest
  • React
  • SCSS
  • Webpack

npm Scripts

Production build:

npm run build

Development build using Webpack DevServer:

npm start

Run tests (ESLint, Flow, Jest):

npm test

Webpack Configs

Webpack configurations are separated into three files:

  • webpack.common.config.js
  • webpack.development.config.js
  • webpack.production.config.js

Dependencies

React

  • classnames
  • prop-types
  • react
  • react-dom

Development Dependencies

Babel

ESLint

Flow

  • flow-bin

Git Hooks

SCSS

  • css-loader
  • sass-loader
  • style-loader
  • node-sass

Tests

  • jest
  • react-test-renderer

Webpack

  • webpack
  • webpack-dev-server
  • webpack-merge
  • clean-webpack-plugin
  • compression-webpack-plugin
  • copy-webpack-plugin
  • extract-text-webpack-plugin

About

Boilerplate setup for React projects. Babel, ESLint, Flow, Jest, React, SCSS and Webpack.


Languages

Language:JavaScript 91.8%Language:HTML 5.5%Language:CSS 2.8%