-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathGruntfile.js
40 lines (37 loc) · 1.28 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
module.exports = function (grunt) {
grunt.initConfig({
bowercopy: {
options: {
clean: true,
runBower: true
},
sass: {
options: { destPrefix: '_sass/vendor' },
files: {
'bulma/sass': 'bulma/sass',
'bulma/bulma.sass': 'bulma/bulma.sass',
'reveal': 'reveal.js/css',
}
},
jquery: {
options: { destPrefix: 'assets/vendor/jquery' },
files: {
'jquery.min.js': 'jquery/dist/jquery.min.js',
'jquery.min.map': 'jquery/dist/jquery.min.map',
}
},
reveal: {
options: { destPrefix: 'assets/vendor/reveal' },
files: {
'reveal.js': 'reveal.js/dist/reveal.js',
'reveal.css': 'reveal.js/dist/reveal.css',
'plugin': 'reveal.js/plugin',
}
}
},
clean: [ 'assets/vendor', '_sass/vendor', 'bower_components' ]
});
grunt.loadNpmTasks('grunt-bowercopy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('default', [ 'clean', 'bowercopy' ]);
};