PDF rausgenommen
This commit is contained in:
49
msd2/tracking/piwik/libs/bower_components/jScrollPane/build/Gruntfile.js
vendored
Normal file
49
msd2/tracking/piwik/libs/bower_components/jScrollPane/build/Gruntfile.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/*
|
||||
* jScrollPane build script
|
||||
* http://jscrollpane.kelvinluck.com/
|
||||
*
|
||||
* Copyright (c) 2013 Kelvin Luck
|
||||
* Licensed under the MIT license.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function(grunt) {
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
|
||||
uglify: {
|
||||
jsp: {
|
||||
files: {
|
||||
'../script/jquery.jscrollpane.min.js': '../script/jquery.jscrollpane.js'
|
||||
},
|
||||
options: {
|
||||
preserveComments: 'some'
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
content: {
|
||||
files: ['../script/jquery.jscrollpane.js'],
|
||||
tasks: 'uglify'
|
||||
}
|
||||
},
|
||||
connect: {
|
||||
site: {
|
||||
options: {
|
||||
base: '../'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
|
||||
grunt.registerTask('default', ['uglify']);
|
||||
grunt.registerTask('serve', ['uglify', 'connect', 'watch']);
|
||||
|
||||
};
|
Reference in New Issue
Block a user