brew install phantomjs
- Install phantomjsnpm install -g karma
- Install Karmanpm install -g grunt-cli
- Install grunt command line toolsnpm install
- install dependenciesgrunt
- rerun tests when source files changegrunt karma:coverage
- run tests and output coverage information
This is originally based off of https://raw.github.com/gmarty/karma-dojo