-
Notifications
You must be signed in to change notification settings - Fork 35
/
gulpfile.js
executable file
·43 lines (35 loc) · 1.21 KB
/
gulpfile.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
41
42
43
var gulp = require('gulp');
gulp.task('copy', function() {
// Start Bootstrap Clean Blog SCSS
gulp.src(['node_modules/startbootstrap-clean-blog/scss/**/*'])
.pipe(gulp.dest('assets/vendor/startbootstrap-clean-blog/scss'))
// Start Bootstrap Clean Blog JS
gulp.src([
'node_modules/startbootstrap-clean-blog/js/clean-blog.min.js',
'node_modules/startbootstrap-clean-blog/js/jqBootstrapValidation.js'
])
.pipe(gulp.dest('assets/vendor/startbootstrap-clean-blog/js'))
// Bootstrap
gulp.src([
'node_modules/bootstrap/dist/**/*',
'!**/npm.js',
'!**/bootstrap-theme.*',
'!**/*.map'
])
.pipe(gulp.dest('assets/vendor/bootstrap'))
// jQuery
gulp.src(['node_modules/jquery/dist/jquery.js', 'node_modules/jquery/dist/jquery.min.js'])
.pipe(gulp.dest('assets/vendor/jquery'))
// Font Awesome
gulp.src([
'node_modules/font-awesome/**',
'!node_modules/font-awesome/**/*.map',
'!node_modules/font-awesome/.npmignore',
'!node_modules/font-awesome/*.txt',
'!node_modules/font-awesome/*.md',
'!node_modules/font-awesome/*.json'
])
.pipe(gulp.dest('assets/vendor/font-awesome'))
})
// Default task
gulp.task('default', ['copy']);