module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    // Task configuration.
    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      gruntfile: {
        src: 'Gruntfile.js'
      },
      all: {
        src: ['*.js']
      },
      ci: {
        options: {
          force: true,
          reporter: 'checkstyle',
          reporterOutput: 'jshint-result.xml'
        },
        src: '<%= jshint.all.src %>'
      }
    },
    vows: {
      all: {
        options: {
          reporter: 'spec'
        },
        src: '**/*.test.js'
      },
      ci: {
        options: {
          reporter: 'xunit'
        },
        src: '**/*.test.js'
      }

    }
  });

  // These plugins provide necessary tasks.
  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-vows');

  grunt.registerTask('test', 'vows:all');
  // Default task.
  grunt.registerTask('default', ['jshint:all']);

};

@@ -561,35 +561,32 @@
 %0A        src: '*
-*/*
 .test.js'%0A      
@@ -644,13 +644,12 @@
 r: '
-xunit
+spec
 '%0A  
@@ -676,11 +676,8 @@
 : '*
-*/*
 .tes
@@ -873,16 +873,60 @@
 :all');%0A
+  grunt.registerTask('lint', 'jshint:all');%0A
   // Def

add unit tests