Export 0.2.1
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.2.0 / node_modules / grunt / grunt.js
1 /*
2  * grunt
3  * http://gruntjs.com/
4  *
5  * Copyright (c) 2012 "Cowboy" Ben Alman
6  * Licensed under the MIT license.
7  * https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
8  */
9
10 module.exports = function(grunt) {
11
12   // Project configuration.
13   grunt.initConfig({
14     test: {
15       all: ['test/**/*.js']
16     },
17     lint: {
18       all: [
19         'grunt.js',
20         'lib/**/*.js',
21         'tasks/*.js',
22         'tasks/*/*.js',
23         'test/{grunt,tasks,util}/*.js'
24       ]
25     },
26     watch: {
27       scripts: {
28         files: '<config:lint.all>',
29         tasks: 'lint test'
30       }
31     },
32     jshint: {
33       options: {
34         curly: true,
35         eqeqeq: true,
36         immed: true,
37         latedef: true,
38         newcap: true,
39         noarg: true,
40         sub: true,
41         undef: true,
42         boss: true,
43         eqnull: true,
44         node: true,
45         es5: true,
46         strict: false
47       },
48       globals: {}
49     }
50   });
51
52   // Default task.
53   grunt.registerTask('default', 'lint test');
54
55 };