-
Notifications
You must be signed in to change notification settings - Fork 9
/
Gruntfile.js
43 lines (39 loc) · 1.17 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
module.exports = function(grunt) {
var mainDesc =
'/*!\n' +
' * <%= pkg.name %> - <%= pkg.description %>\n' +
' *\n' +
' * @version v<%= pkg.version %>\n' +
' * @link <%= pkg.homepage %>\n' +
' * @author Ustym Ukhman <ustym.ukhman@gmail.com>\n' +
' * @license <%= pkg.license.type %> License, <%= pkg.license.url %>\n' +
' *\n' +
' * Date: <%= grunt.template.today("dd-mm-yyyy h:MM:ss TT Z") %>\n' +
' */\n\n';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
separator: '\n\n',
banner: mainDesc
},
dist: {
src: [
'animations/base.css',
'animations/specials/*.css',
'animations/star wars/*.css',
'animations/incomers & leavers/*.css',
'animations/speedy/*.css',
'animations/stairs/*.css',
'animations/jumpers/*.css',
'animations/rollers/*.css',
'animations/fallers/*.css',
'animations/turners/*.css'
],
dest: 'dist/<%= pkg.filename %>.css'
}
}
});
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.registerTask('default', ['concat']);
};