text: module.exports = function(grunt) {
  
    // Project configuration.
    grunt.initConfig({
      pkg: grunt.file.readJSON('package.json'),
      karma: {
        unit: {
            configFile: 'karma.conf.js',
            autoWatch: false,
            singleRun: true,
          browsers: ['PhantomJS']
          }
      },
      uglify: {
        options: {
          banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
        },
        build: {
          src: 'src/<%= pkg.name %>.js',
          dest: 'build/<%= pkg.name %>.min.js'
        }
      },
      cssmin: {
        production: {
          expand: true,
          cwd: 'css',
          src: ['*.css'],
          dest: 'css'
        }
      }
  
    });
    grunt.loadNpmTasks('grunt-karma');
  
    grunt.loadNpmTasks('grunt-contrib-cssmin');
  
    // Load the plugin that provides the "uglify" task.
    grunt.loadNpmTasks('grunt-contrib-uglify');
  
    // Default task(s).
    grunt.registerTask('default', ['karma']);
  
  };
  