You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
717 B

module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*!\n'+
' * jQuery fancyTable plugin v<%= pkg.version %>\n'+
' * https://github.com/myspace-nu\n'+
' *\n'+
' * Copyright 2018 Johan Johansson\n'+
' * Released under the MIT license\n'+
' */\n'
},
build: {
src: 'src/fancyTable.js',
dest: 'dist/fancyTable.min.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify']);
};