Skip to content

spyl94/react-brunch-demo

Repository files navigation

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.

About

An ES6 React & Redux application compiled by Brunch and linted with Eslint.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages