Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.22 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.22 KB

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.