module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { options: { sourceMap: true, sourceMapIncludeSources: true }, build: { files: [{ src: 'src/jquery-captcha.js', dest: 'dist/jquery-captcha.min.js' }] } } }); // Load the plugin that provides the "uglify" task. grunt.loadNpmTasks('grunt-contrib-uglify'); // Default task(s). grunt.registerTask('default', ['uglify']); };