librenms-librenms/Gruntfile.js
XhmikosR ac59cbd3af Update Gruntfile.js.
* remove unneeded variable
* move jshint first
* update uglify-js options
2013-10-18 18:49:07 +03:00

33 lines
803 B
JavaScript

module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc'
},
all: ['*.js']
},
uglify: {
options: {
compress: true,
mangle: true,
preserveComments: 'some',
report: 'gzip'
},
build: {
src: 'jquery.mousewheel.js',
dest: 'build/jquery.mousewheel.min.js'
}
}
});
// Load the plugin that provides the 'uglify' task.
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
// Default task(s).
grunt.registerTask('default', ['jshint', 'uglify']);
};