2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-07-20 00:14:30 -06:00
colorPicker/Gruntfile.js

34 lines
1003 B
JavaScript
Raw Normal View History

2014-09-15 20:32:27 +02:00
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: 'colorPicker.js.map',
report: 'gzip'
2014-09-15 20:32:27 +02:00
},
my_target: {
files: [{
'color.all.min.js': ['colors.js', 'colorPicker.data.js', 'colorPicker.js']
},{
'jQuery_implementation/jQueryColorPicker.min.js':
['colors.js', 'colorPicker.data.js', 'colorPicker.js','jQuery_implementation/jqColor.js']
},{
'javascript_implementation/jsColorPicker.min.js':
['colors.js', 'colorPicker.data.js', 'colorPicker.js','javascript_implementation/jsColor.js']
}]
}
}
2014-09-15 20:32:27 +02:00
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-uglify');
// Default task(s).
grunt.registerTask('default', ['uglify']);
};