2019-05-14 17:09:22 +00:00
|
|
|
module.exports = function (grunt) {
|
|
|
|
grunt.initConfig({
|
2019-05-30 14:11:49 +00:00
|
|
|
bowercopy: {
|
|
|
|
options: {
|
|
|
|
clean: true,
|
|
|
|
runBower: true
|
|
|
|
},
|
|
|
|
sass: {
|
|
|
|
options: { destPrefix: '_sass/vendor' },
|
|
|
|
files: {
|
|
|
|
'bulma/sass': 'bulma/sass',
|
2020-07-16 15:14:41 +00:00
|
|
|
'bulma/bulma.sass': 'bulma/bulma.sass',
|
|
|
|
'reveal': 'reveal.js/css',
|
2019-05-30 14:11:49 +00:00
|
|
|
}
|
|
|
|
},
|
2020-07-16 15:14:41 +00:00
|
|
|
jquery: {
|
|
|
|
options: { destPrefix: 'assets/vendor/jquery' },
|
2019-05-30 14:11:49 +00:00
|
|
|
files: {
|
2020-07-16 15:14:41 +00:00
|
|
|
'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',
|
2019-05-30 14:11:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
clean: [ 'assets/vendor', '_sass/vendor', 'bower_components' ]
|
2019-05-14 17:09:22 +00:00
|
|
|
});
|
|
|
|
|
2019-05-30 14:11:49 +00:00
|
|
|
grunt.loadNpmTasks('grunt-bowercopy');
|
2019-05-14 17:09:22 +00:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
|
|
|
2019-05-30 14:11:49 +00:00
|
|
|
grunt.registerTask('default', [ 'clean', 'bowercopy' ]);
|
|
|
|
};
|