Add the grunt-karma as a npm dependency.
Add a main.js file with global config.