react-brunch-demo
react-brunch-demo copied to clipboard
An ES6 React & Redux application compiled by Brunch and linted with Eslint.
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):
- 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 inapp/
dir. - Place static files you want to be copied from
app/assets/
topublic/
. 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
.