An ES6 React & Redux application compiled by Brunch and linted with Eslint.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
flow-typed/npm
.babelrc
.flowconfig
.gitignore
LICENSE
README.md
brunch-config.js
package.json
yarn.lock

README.md

react-brunch-demo

This is a demo for a frontend application, powered by React & Redux, written in ES6, typed with Flow, tested with Jest and built with Brunch.

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Yarn: brew install yarn on OS X
    • Brunch: yarn global add brunch --prefix /usr/local
    • Brunch plugins and dependencies: yarn install.
  • Run:
    • brunch watch --server — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • brunch build --production — builds minified project for production
  • Learn:
    • public/ dir is fully auto-generated. Write your code in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/. Ideal for images, fonts...
    • Brunch site, Getting started guide

Flow

Flow is enabled on all files. yarn run typecheck

Intl

Messages are extracted in ./intl/messages.