text: module.exports = function(grunt) {
  
    // Project configuration.
    grunt.initConfig({
      pkg: grunt.file.readJSON('package.json'),
      concat: {
        config: {
          options: {
            banner: "(function(angular) {",
            footer: "}(angular));"
          }
        },
        dist: {
          src: ['src/main.js',
                'src/services/widget.js',
                'src/factories/widget.js',
                'src/factories/directive.js',
                'src/directives/widgets.js',
                'src/directives/dataSource.js'],
          dest: 'build/angular-kendo.js'
        },
  
      },
      uglify: {
        options: {
          banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
        },
        build: {
          src: 'build/angular-kendo.js',
          dest: 'build/<%= pkg.name %>.min.js'
        }
      },
      // docco: {
      //   build: {
      //     src: [ '<%= pkg.name %>.js' ],
      //     options: {
      //       css: 'app/css/docco.css',
      //       output: 'docs/'
      //     }
      //   }
      // },
      copy: {
        main: {
          files: [
            { src: ['docs/angular-kendo.html'], dest: 'app/partials/docs.html', filter: 'isFile' }, // includes files in path
          ]
        }
      },
      watch: {
        scripts: {
          files: "src/**/*.js",
          tasks: "default"
        }
      }
    });
  
    // Load the plugin that provides the "uglify" task.
    grunt.loadNpmTasks('grunt-contrib-uglify');
  
    grunt.loadNpmTasks('grunt-docco');
  
    grunt.loadNpmTasks('grunt-contrib-copy');
  
    grunt.loadNpmTasks('grunt-contrib-concat');
  
    grunt.loadNpmTasks('grunt-contrib-watch');
  
    // Default task(s).
    grunt.registerTask('default', ['concat', 'uglify', 'watch']);
  
  };