Uses immutable.js with immstruct for data.
flummox is the flux implementation.
And of course, react-router.
Table of Contents generated with DocToc
git clone https://github.com/joeybaker/flux-play
cd flux-play
npm i
Use ribcage-preview to demo these. There are also handy npm scripts
# run the big demo
npm run demos
# run the in-progress project
npm run erbody
Tests are in tape and code coverage is run though covert.
npm test
will run both server and browser testsnpm run test-browser
run their respective testsnpm run tdd-browser
will run the server tests on every file change.
NOTE: you might need to sudo ln -s /usr/local/bin/node /usr/bin/node
to ensure node is in your path for the git hooks to work
- npm > 2.0.0 So that passing args to a npm script will work.
npm i -g npm
- git > 1.8.3 So that
git push --follow-tags
will work.brew install git