text: /**
   * Grunt tasks.
   * @author Alejandro Mostajo
   */
  module.exports = function(grunt) {
  
      // Project configuration.
      grunt.initConfig({
          pkg: grunt.file.readJSON('package.json'),
          uglify: {
              options: {
                  banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
              },
              build: {
                  src: 'src/<%= pkg.name %>.js',
                  dest: 'dist/<%= pkg.name %>.min.js'
              }
          },
          copy: {
              dist: {
                  expand: true,
                  cwd: 'src/',
                  src: '**',
                  dest: 'dist/',
                  flatten: true,
                  filter: 'isFile',
              },
          }
      });
  
      // Load plugins.
      grunt.loadNpmTasks('grunt-contrib-uglify');
      grunt.loadNpmTasks('grunt-contrib-copy');
  
      // Default task(s).
      grunt.registerTask('default', ['uglify', 'copy']);
  
  };
  