/*global module:false*/
module.exports = function(grunt) {

  // Project configuration.
  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-exec');
  grunt.initConfig({
    meta: {
      version: '0.1.0',
      banner: '/*! PROJECT_NAME - v<%= meta.version %> - ' +
        '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
        '* http://PROJECT_WEBSITE/\n' +
        '* Copyright (c) <%= grunt.template.today("yyyy") %> ' +
        'YOUR_NAME; Licensed MIT */'
    },
    lint: {
      files: ['grunt.js', 'js/*.js']
    },
    qunit: {
      files: ['tests/**/*.html']
    },
    less: {
      development: {
        options: {
          paths: ["css"]
        },
        files: {
          "css/bootstrap-timepicker.css": "less/*.less"
        }
      },
      production: {
        options: {
          paths: ["css"],
          yuicompress: true
        },
        files: {
          "css/bootstrap-timepicker.min.css": "less/*.less"
        }
      }
    },
    min: {
      dist: {
        src: ['js/bootstrap-timepicker.js'],
        dest: 'js/bootstrap-timepicker.min.js'
      }
    },
    watch: {
      files: 'js/bootstrap-timepicker.js',
      tasks: 'lint qunit'
    },
    jshint: {
      options: {
        curly: true,
        eqeqeq: true,
        immed: true,
        latedef: true,
        newcap: true,
        noarg: true,
        sub: true,
        undef: true,
        boss: true,
        eqnull: true,
        browser: true
      },
      globals: {
        jQuery: true
      }
    },
    uglify: {},
    exec: {
      checkout_ghPages: {
        command: 'git checkout gh-pages -q'
      },
      copy_css: {
        command: 'git checkout master css/bootstrap-timepicker.min.css'
      },
      copy_js: {
        command: 'git checkout master js/bootstrap-timepicker.min.js'
      },
      notify: {
        command: 'echo "on branch gh-pages"'
      }
    }
  });

  // Default task.
  grunt.registerTask('default', 'min');

};





@@ -51,16 +51,32 @@
 grunt) %7B
+%0A  'use strict';
 %0A%0A  // P
@@ -137,24 +137,70 @@
 rib-less');%0A
+  grunt.loadNpmTasks('grunt-jasmine-runner');%0A
   grunt.load
@@ -219,24 +219,25 @@
 unt-exec');%0A
+%0A
   grunt.init
@@ -578,24 +578,43 @@
 : %5B'
-grunt
+js/bootstrap-timepicker
 .js', '
-js/*
+grunt
 .js'
@@ -745,21 +745,21 @@
 paths: %5B
-%22css%22
+'css'
 %5D%0A      
@@ -782,33 +782,33 @@
 es: %7B%0A          
-%22
+'
 css/bootstrap-ti
@@ -815,28 +815,28 @@
 mepicker.css
-%22: %22
+': '
 less/*.less%22
@@ -826,33 +826,33 @@
 s': 'less/*.less
-%22
+'
 %0A        %7D%0A     
@@ -916,13 +916,13 @@
 s: %5B
-%22css%22
+'css'
 %5D,%0A 
@@ -986,17 +986,17 @@
         
-%22
+'
 css/boot
@@ -1023,12 +1023,12 @@
 .css
-%22: %22
+': '
 less
@@ -1034,17 +1034,17 @@
 s/*.less
-%22
+'
 %0A       
@@ -1201,13 +1201,14 @@
     
-watch
+jshint
 : %7B%0A
@@ -1217,108 +1217,66 @@
     
-files: 'js/bootstrap-timepicker.js',%0A      tasks: 'lint qunit'
+options: %7B%0A        browser: true,
 %0A    
-%7D,%0A
     
-jshint: %7B%0A      options: %7B
+camelcase: true,
 %0A   
@@ -1307,32 +1307,54 @@
   eqeqeq: true,%0A
+        eqnull: true,%0A
         immed: t
@@ -1416,32 +1416,60 @@
    noarg: true,%0A
+        quotmark: 'single',%0A
         sub: tru
@@ -1483,13 +1483,14 @@
     
-undef
+strict
 : tr
@@ -1505,12 +1505,16 @@
     
-boss
+trailing
 : tr
@@ -1517,38 +1517,37 @@
 : true,%0A        
-eqnull
+undef
 : true,%0A        
@@ -1542,31 +1542,30 @@
 ue,%0A        
-browser
+unused
 : true%0A     
@@ -1637,16 +1637,505 @@
 fy: %7B%7D,%0A
+    watch: %7B%0A      scripts: %7B%0A        files: %5B'spec/js/*Spec.js', 'js/bootstrap-timepicker.js'%5D,%0A        tasks: 'jasmine',%0A        options: %7B%0A          interrupt: true%0A        %7D%0A      %7D%0A    %7D,%0A    jasmine: %7B%0A      src : %5B'spec/js/libs/*.js', 'js/bootstrap-timepicker.js'%5D,%0A      specs : 'spec/js/*Spec.js',%0A      helpers : 'spec/js/helpers/*.js',%0A      timeout : 100,%0A      junit : %7B%0A        output : 'junit/'%0A      %7D,%0A      phantomjs : %7B%0A        'ignore-ssl-errors' : true%0A      %7D%0A    %7D,%0A
     exec
@@ -2156,10 +2156,9 @@
 kout
-_g
+G
 hPag
@@ -2230,10 +2230,9 @@
 copy
-_c
+C
 ss: 
@@ -2328,10 +2328,9 @@
 copy
-_j
+J
 s: %7B
@@ -2554,12 +2554,8 @@
 ');%0A%0A%7D;%0A
-%0A%0A%0A%0A

Add jasmine unit testing