This is a modern JS skeleton with React for Brunch.
Clone this repo manually or use brunch new dir -s brunch/with-react
- 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
- Test:
- "npm test" - Runs tests provided in the tests folder. Using enzyme to test components.
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/
dir.- Place static files you want to be copied from
app/assets/
topublic/
. - Brunch site, Getting started guide