librenms-librenms/Gruntfile.js
2013-09-10 10:48:18 +03:00

31 lines
759 B
JavaScript

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