Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Update to latest Grunt
[qunit.git] / grunt.js
1 /*global config:true, task:true*/
2 module.exports = function( grunt ) {
3
4 grunt.initConfig({
5         pkg: '<json:package.json>',
6         qunit: {
7                 // TODO include 'test/logs.html' as well
8                 files: ['test/index.html']
9         },
10         lint: {
11                 qunit: 'qunit/qunit.js',
12                 grunt: 'grunt.js'
13                 // TODO need to figure out which warnings to fix and which to disable
14                 // tests: 'test/*.js'
15         },
16         jshint: {
17                 qunit: {
18                         options: {
19                                 browser: true,
20                                 bitwise: true,
21                                 curly: true,
22                                 trailing: true,
23                                 immed: true,
24                                 latedef: false,
25                                 newcap: true,
26                                 noarg: false,
27                                 noempty: true,
28                                 nonew: true,
29                                 sub: true,
30                                 undef: true,
31                                 eqnull: true,
32                                 proto: true
33                         },
34                         globals: {
35                                 jQuery: true,
36                                 exports: true
37                         }
38                 },
39                 tests: {
40                         tests: {
41                                 globals: {
42                                         module: true,
43                                         test: true,
44                                         ok: true,
45                                         equal: true,
46                                         deepEqual: true,
47                                         QUnit: true
48                                 }
49                         }
50                 }
51         }
52 });
53
54 // Default task.
55 grunt.registerTask('default', 'lint qunit');
56
57 };

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf