-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathGruntfile.js
36 lines (32 loc) · 923 Bytes
/
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
module.exports = function(grunt) {
'use strict';
grunt.file.mkdir('vendor/js');
grunt.file.mkdir('vendor/css');
grunt.initConfig({
clean: {
test: ['vendor']
},
copy: {
bootstraJs: {
src: 'bower_components/bootstrap/dist/js/bootstrap.js',
dest: "vendor/js/bootstrap.js"
},
jquery: {
src: 'bower_components/jquery/dist/js/jquery.js',
dest: "vendor/js/jquery.js"
},
bootstrapCss: {
src: 'bower_components/bootstrap/dist/css/bootstrap.css',
dest: "vendor/css/bootstrap.css"
},
bootstrapThemeCss: {
src: 'bower_components/bootstrap/dist/css/bootstrap-theme.css',
dest: "vendor/css/bootstrap-theme.css"
}
}
});
grunt.loadTasks('tasks');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask('build', ['clean', 'copy']);
};