-
Notifications
You must be signed in to change notification settings - Fork 3
/
Gruntfile.js
52 lines (48 loc) · 1.3 KB
/
Gruntfile.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
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
stripBanners: {
'block': true
}
},
dist: {
src: ['deps/md5.js',
'deps/base64.js',
'deps/jquery-1.8.2.js',
'deps/jquery.url.js',
'deps/jquery.cookie.js',
'deps/jquery-ui-1.9.1.js',
'deps/underscore-1.4.4.js',
'deps/backbone-1.0.0.js',
'deps/moment-1.1.0.js',
'deps/strophe.js',
'deps/strophe.ping.js'],
dest: 'deps.base.Bundle.new.js'
}
},
minified : {
files: {
src: [
],
dest: ''
},
options : {
sourcemap: false,
allinone: false
}
},
jshint: {
all: ['Gruntfile.js', 'rollcall.js', 'sail.node.server.js', 'sail.strophe.js', 'sail.ui.js']
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-minified');
// Default task(s).
// grunt.registerTask('default', ['uglify']);
grunt.registerTask('default', ['jshint', 'concat', 'minified']);
};