Guest User

Untitled

a guest
Oct 17th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. module.exports = function (grunt) {
  2. grunt.initConfig({
  3. pkg: grunt.file.readJSON("package.json"),
  4.  
  5. karma: {
  6. unit: {
  7. configFile: "karma.conf.js"
  8. }
  9. },
  10.  
  11. watch: {
  12. files: ["src/*", "test/**/*"],
  13. tasks: ["default"]
  14. }
  15.  
  16. });
  17.  
  18. grunt.loadNpmTasks("grunt-contrib-watch");
  19. grunt.loadNpmTasks('grunt-karma');
  20.  
  21. grunt.registerTask("default", ["karma:unit"]);
  22. }
Add Comment
Please, Sign In to add comment