Add jquery-mousewheel v3.1.11.
This commit is contained in:
47
assets/vendor/jquery-mousewheel/Gruntfile.js
vendored
Normal file
47
assets/vendor/jquery-mousewheel/Gruntfile.js
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
module.exports = function(grunt) {
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc'
|
||||
},
|
||||
all: ['jquery.mousewheel.js']
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
compress: true,
|
||||
mangle: true,
|
||||
preserveComments: 'some',
|
||||
report: 'gzip'
|
||||
},
|
||||
build: {
|
||||
src: 'jquery.mousewheel.js',
|
||||
dest: 'jquery.mousewheel.min.js'
|
||||
}
|
||||
},
|
||||
connect: {
|
||||
server: {
|
||||
options: {
|
||||
hostname: '*',
|
||||
keepalive: true,
|
||||
middleware: function(connect, options) {
|
||||
return [
|
||||
connect.static(options.base),
|
||||
connect.directory(options.base)
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Load the plugin that provides the 'uglify' task.
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['jshint', 'uglify']);
|
||||
|
||||
};
|
Reference in New Issue
Block a user