提交 | 用户 | 时间
|
58d006
|
1 |
/* |
A |
2 |
* jQuery File Upload Gruntfile |
|
3 |
* https://github.com/blueimp/jQuery-File-Upload |
|
4 |
* |
|
5 |
* Copyright 2013, Sebastian Tschan |
|
6 |
* https://blueimp.net |
|
7 |
* |
|
8 |
* Licensed under the MIT license: |
|
9 |
* http://www.opensource.org/licenses/MIT |
|
10 |
*/ |
|
11 |
|
|
12 |
/*global module */ |
|
13 |
|
|
14 |
module.exports = function (grunt) { |
|
15 |
'use strict'; |
|
16 |
|
|
17 |
grunt.initConfig({ |
|
18 |
jshint: { |
|
19 |
options: { |
|
20 |
jshintrc: '.jshintrc' |
|
21 |
}, |
|
22 |
all: [ |
|
23 |
'Gruntfile.js', |
|
24 |
'js/cors/*.js', |
|
25 |
'js/*.js', |
|
26 |
'server/node/server.js', |
|
27 |
'test/test.js' |
|
28 |
] |
|
29 |
} |
|
30 |
}); |
|
31 |
|
|
32 |
grunt.loadNpmTasks('grunt-contrib-jshint'); |
|
33 |
grunt.loadNpmTasks('grunt-bump-build-git'); |
|
34 |
grunt.registerTask('test', ['jshint']); |
|
35 |
grunt.registerTask('default', ['test']); |
|
36 |
|
|
37 |
}; |