Skip to content
/ react Public
forked from werein/react

Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: React | redux | babel6 | web pack | css-modules | karma | enzyme | express + optional: sass/scss | electron

Notifications You must be signed in to change notification settings

slavent/react

 
 

Repository files navigation

React

Build StatusWindows Build Status Code Climate

Deploy

Start a new application easily with all necessary tools

  • React
  • Redux
  • Webpack
  • Babel 6
  • CSS modules
  • Redux Router
  • Redux DevTools
  • Eslint
  • Enzyme powered by karma w Mocha & Chai
  • Express

And optional (just install missing dependencies):

  • Sass/SCSS - npm i node-sass sass-loader --save
  • Electron - npm i electron-prebuilt --save-dev
  • Surge - npm i surge -g

Installation

git clone https://github.com/werein/react.git

Production

Current production size is 196kb and 54.6kb gziped.

Desktop version

This stack is pre-backed to be develop a desktop application.

  • Don't forge to install electron npm i electron-prebuilt --save-dev
  • Run dev server npm start
  • Run desktop application npm run desktop

The setup is completely the same, only difference is that it is not running in browser, but as desktop application.

Deployment

Surge.sh Prefered way

Simple, single-command web publishing. Publish HTML, CSS, and JS for free, without leaving the command line.

  • Don't forge to install Surge npm i surge -g
  • Run deployment command - npm run surge

Heroku

Heroku works out of the box, just use "deploy to heroku" button

Tools

This project works with ReduxDevtool extension for chrome. Read more

Keep it up to date

Track this repo

git remote add upstream https://github.com/werein/react.git

Rebase on the latest version

git fetch upstream
git rebase upstream/master

About

Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: React | redux | babel6 | web pack | css-modules | karma | enzyme | express + optional: sass/scss | electron

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.2%
  • HTML 1.3%
  • CSS 0.5%