librenms-librenms/Gruntfile.js

31 lines
649 B
JavaScript
Raw Normal View History

2013-03-11 21:17:08 -05:00
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
preserveComments: 'some'
},
build: {
2013-03-12 09:21:08 -05:00
src: 'jquery.mousewheel.js',
dest: 'build/jquery.mousewheel.min.js'
2013-03-11 21:17:08 -05:00
}
},
jshint: {
2013-09-10 10:41:10 +03:00
options: {
jshintrc: '.jshintrc'
},
2013-03-11 21:17:08 -05:00
all: ['*.js']
}
});
2013-09-10 10:37:42 +03:00
// Load the plugin that provides the 'uglify' task.
2013-03-11 21:17:08 -05:00
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint');
// Default task(s).
grunt.registerTask('default', ['jshint', 'uglify']);
};