You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
998 B
42 lines
998 B
/*
|
|
* jQuery File Upload Gruntfile
|
|
* https://github.com/blueimp/jQuery-File-Upload
|
|
*
|
|
* Copyright 2013, Sebastian Tschan
|
|
* https://blueimp.net
|
|
*
|
|
* Licensed under the MIT license:
|
|
* http://www.opensource.org/licenses/MIT
|
|
*/
|
|
|
|
/*global module, require */
|
|
|
|
module.exports = function (grunt) {
|
|
'use strict';
|
|
|
|
function bowerJson() {
|
|
require('bower-json').validate(require('./bower.json'));
|
|
}
|
|
|
|
grunt.initConfig({
|
|
jshint: {
|
|
options: {
|
|
jshintrc: '.jshintrc'
|
|
},
|
|
all: [
|
|
'Gruntfile.js',
|
|
'js/cors/*.js',
|
|
'js/*.js',
|
|
'server/node/server.js',
|
|
'test/test.js'
|
|
]
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
grunt.loadNpmTasks('grunt-bump-build-git');
|
|
grunt.registerTask('bower-json', bowerJson);
|
|
grunt.registerTask('test', ['jshint', 'bower-json']);
|
|
grunt.registerTask('default', ['test']);
|
|
|
|
};
|
|
|