1
0
Fork 0
mirror of https://github.com/zrgn/zrgn.github.io synced 2024-12-26 00:26:33 +00:00
zrgn.github.io/Gruntfile.js
2019-05-30 10:32:54 -04:00

31 lines
950 B
JavaScript

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'
}
},
js: {
options: { destPrefix: 'assets/vendor/js' },
files: {
'jquery/jquery.min.js': 'jquery/dist/jquery.min.js',
'jquery/jquery.min.map': 'jquery/dist/jquery.min.map'
}
}
},
clean: [ 'assets/vendor', '_sass/vendor', 'bower_components' ]
});
grunt.loadNpmTasks('grunt-bowercopy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('default', [ 'clean', 'bowercopy' ]);
};