           }
         ]
     uglify:
-      options:
-        report:           false
-        preserveComments: false
-        banner:           '// <%= pkg.name %> <%= pkg.version %>\n// <%= pkg.repository.url %>\n// <%= grunt.template.today("yyyy-mm-dd HH:MM:ss Z") %>\n\n'
-      process:
+      make:
         options:
-          mangle:   true
-          compress: false
-          beautify: false
+          report:           false
+          preserveComments: false
+          banner:           '// <%= pkg.name %> <%= pkg.version %>\n// <%= pkg.repository.url %>\n// <%= grunt.template.today("yyyy-mm-dd HH:MM:ss Z") %>\n\n'
+          mangle:           true
+          compress:         false
+          beautify:         false
         files: [
           {
             expand: true


  grunt.initConfig(
    pkg: grunt.file.readJSON('package.json')
    coffee:
      options:
        bare: false
      process:
        files: [
          {
            expand: true

          }
        ]
    watch:
      files: ['src/**/*.coffee']
      tasks: ['coffee:process']
    mochaTest:
      options:
        reporter: 'spec'
        require: 'coffee-script/register'
      src: ['test/**/*.coffee']
  )

  grunt.registerTask 'release', (type = 'patch') ->
    grunt.task.run 'bumpup:' + type
    grunt.task.run 'coffee'
    grunt.task.run 'uglify'

  grunt.registerTask 'test', ->
    grunt.task.run 'mochaTest'
