text: module.exports = function(grunt) {
  
      // Project configuration.
      grunt.initConfig({
          pkg: grunt.file.readJSON('package.json'),
          uglify: {
              main: {
                  src: 'public/js/<%= pkg.name %>.js',
                  dest: 'public/js/<%= pkg.name %>.min.js'
              }
          },
          less: {
              expanded: {
                  options: {
                      paths: ["css"]
                  },
                  files: {
                      "public/css/<%= pkg.name %>.css": "public/less/<%= pkg.name %>.less"
                  }
              },
              minified: {
                  options: {
                      paths: ["css"],
                      cleancss: true
                  },
                  files: {
                      "public/css/<%= pkg.name %>.min.css": "public/less/<%= pkg.name %>.less"
                  }
              }
          },
          banner: '/*!\n' +
              ' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
              ' * Copyright 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
              ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
              ' */\n',
          usebanner: {
              dist: {
                  options: {
                      position: 'top',
                      banner: '<%= banner %>'
                  },
                  files: {
                      src: ['public/css/<%= pkg.name %>.css', 'public/css/<%= pkg.name %>.min.css', 'public/js/<%= pkg.name %>.min.js']
                  }
              }
          },
          watch: {
              scripts: {
                  files: ['public/js/<%= pkg.name %>.js'],
                  tasks: ['uglify'],
                  options: {
                      spawn: false,
                  },
              },
              less: {
                  files: ['public/gless/*.less'],
                  tasks: ['less'],
                  options: {
                      spawn: false,
                  }
              },
          },
      });
  
      // Load the plugins.
      grunt.loadNpmTasks('grunt-contrib-uglify');
      grunt.loadNpmTasks('grunt-contrib-less');
      grunt.loadNpmTasks('grunt-banner');
      grunt.loadNpmTasks('grunt-contrib-watch');
  
      // Default task(s).
      grunt.registerTask('default', ['uglify', 'less', 'usebanner']);
  
  };
  