-
Notifications
You must be signed in to change notification settings - Fork 52
/
Gruntfile.js
38 lines (34 loc) · 1.11 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
module.exports = function(grunt) {
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
grunt.initConfig({
jshint: {
files: ['jquery.shoutcast.js', 'easySetup.js'],
options: {
expr: true,
browser: true,
devel: true,
strict: true,
undef: true,
curly: true,
eqeqeq: true,
forin: true,
immed: true,
latedef: true,
noarg: true,
noempty: true,
regexp: false,
jquery: true
}
},
uglify: {
options: {banner: "/* Wavestreaming.com - https://github.com/Wavestreaming/jquery-shoutcast - MIT licensed */\n"},
target: {
files: {
'jquery.shoutcast.min.js': 'jquery.shoutcast.js',
'jquery.shoutcast.easy.min.js': ['jquery.shoutcast.js', 'easySetup.js']
}
}
}
});
grunt.registerTask('default', ['jshint', 'uglify'])
};