mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-06-27 13:11:01 -06:00
28 lines
666 B
JavaScript
28 lines
666 B
JavaScript
|
module.exports = function(grunt) {
|
||
|
|
||
|
// Project configuration.
|
||
|
grunt.initConfig({
|
||
|
pkg: grunt.file.readJSON('package.json'),
|
||
|
uglify: {
|
||
|
options: {
|
||
|
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
|
||
|
sourceMap: true,
|
||
|
// sourceMapIncludeSources: true,
|
||
|
sourceMapName: 'jqColorPicker.js.map',
|
||
|
report: 'gzip'
|
||
|
},
|
||
|
my_target: {
|
||
|
files: [{
|
||
|
'jqColorPicker.min.js': ['colors.js', 'jqColorPicker.js']
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
// Load the plugin that provides the "uglify" task.
|
||
|
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||
|
|
||
|
// Default task(s).
|
||
|
grunt.registerTask('default', ['uglify']);
|
||
|
|
||
|
};
|