       style       : files: '<%= meta.bower %>/<%= meta.file %>.style.js': '<%= meta.build %>/<%= meta.file %>.style.js'
 
 
+    jasmine:
+      pivotal:
+        src: [
+          '<%=meta.bower%>/<%= meta.file %>.js']
+        options:
+          # vendor: 'spec/components/jquery/jquery.min.js'
+          specs: '<%=meta.build%>/<%=meta.file%>.spec.js',
+          # outfile: 'spec.html'
+          # keepRunner: true
+
     watch:
       core:
         files: ['<%= source.core %>']
-        tasks: ["concat:core", "coffee:core", "uglify:core"]
+        tasks: ["concat:core", "coffee:core", "uglify:core", "jasmine"]
       ajax:
         files: ['<%= source.ajax %>']
         tasks: ["coffee:ajax", "uglify:ajax"]

      style:
        files: ['<%= source.style %>']
        tasks: ["coffee:style", "uglify:style"]

  grunt.loadNpmTasks "grunt-contrib-concat"
  grunt.loadNpmTasks "grunt-contrib-coffee"
  grunt.loadNpmTasks "grunt-contrib-uglify"
  grunt.loadNpmTasks "grunt-contrib-watch"

  # Default task.
  grunt.registerTask 'default', ["concat", "coffee", "uglify"]

      output      : files: '<%= meta.build %>/<%= meta.file %>.output.js': '<%=source.output%>'
      query       : files: '<%= meta.build %>/<%= meta.file %>.query.js': '<%=source.query%>'
      style       : files: '<%= meta.build %>/<%= meta.file %>.style.js': '<%=source.style%>'
      spec        : files: '<%= meta.build %>/<%= meta.file %>.spec.js': '<%=meta.build%>/<%=meta.file%>.spec.coffee'

    uglify:
      options: mangle: false, banner: "<%= meta.banner %>"#, report: "gzip"
