mirror of
https://github.com/zrgn/zrgn.github.io
synced 2024-12-26 00:26:33 +00:00
31 lines
950 B
JavaScript
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' ]);
|
|
};
|