forked from hellsan631/LogosDistort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
71 lines (69 loc) · 1.75 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Generated by CoffeeScript 1.9.1
(function() {
module.exports = function(grunt) {
grunt.initConfig({
coffee: {
build: {
options: {
bare: false,
sourceMap: true
},
files: {
'dist/jquery.logosDistort.js': 'src/jquery.logosDistort.coffee'
}
}
},
compass: {
build: {
options: {
sourcemap: true,
sassDir: 'demo/assets/_scss',
cssDir: 'demo/assets/css',
environment: 'development',
outputStyle: 'expanded'
}
}
},
uglify: {
build: {
options: {
mangle: true,
sourceMap: true,
compress: {
drop_console: true
}
},
files: {
'dist/jquery.logosDistort.min.js': 'src/jquery.logosDistort.js'
}
}
},
cssmin: {
build: {
options: {
sourceMap: true,
advanced: false,
compatibility: true,
processImport: false,
shorthandCompacting: false
},
files: [
{
expand: true,
cwd: 'demo/assets/css',
src: ['*.css', '!*.min.css', '!style.css'],
dest: 'dist/css',
ext: '.min.css'
}
]
}
}
});
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-uglify');
return grunt.registerTask('build', ['compass:build', 'uglify:build', 'cssmin:build']);
};
}).call(this);
//# sourceMappingURL=Gruntfile.js.map