-
Notifications
You must be signed in to change notification settings - Fork 22
/
grunt.js
59 lines (51 loc) · 1.23 KB
/
grunt.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*global module:false*/
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-rigger');
// Project configuration.
grunt.initConfig({
meta: {
version: '0.1.0',
banner: '// Jasmine.Async, v<%= meta.version %>\n' +
'// Copyright (c)<%= grunt.template.today("yyyy") %> Muted Solutions, LLC. All Rights Reserved.\n' +
'// Distributed under MIT license\n' +
'// http://github.com/derickbailey/jasmine.async'
},
lint: {
files: ['src/jasmine.async.js']
},
rig: {
build: {
src: ['<banner:meta.banner>', 'src/jasmine.async.js'],
dest: 'lib/jasmine.async.js'
}
},
min: {
standard: {
src: ['<banner:meta.banner>', '<config:rig.build.dest>'],
dest: 'lib/jasmine.async.min.js'
}
},
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: false,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
browser: true
},
globals: {
runs: true,
waitsFor: true
}
},
uglify: {}
});
// Default task.
grunt.registerTask('default', 'lint rig min');
};