You can quickly create JavaScript tasks by cloning the scaffolding repo. You don't have to bother with karma/coverage/reporters/gruntfile/npm configuration.
npm install
To run verify jshint:
grunt jshint:default
To start developing unit tests
grunt test:dev
To run tests and static analysis
npm test