summaryrefslogtreecommitdiffhomepage
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 891a759..09dd8f8 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,5 +1,4 @@
var gulp = require('gulp'),
- bower = require('gulp-bower'),
changed = require('gulp-changed'),
pug = require('gulp-pug'),
minifyhtml = require('gulp-minify-html'),
@@ -8,8 +7,7 @@ var gulp = require('gulp'),
var config = {
sassPath: './resources/sass',
- pugPath: './resources/pug',
- bowerDir: './bower_components'
+ pugPath: './resources/pug'
}
gulp.task('watch', function() {
@@ -17,12 +15,7 @@ gulp.task('watch', function() {
gulp.watch(config.pugPath + '/**/*.pug', ['pug']);
});
-gulp.task('default', ['bower', 'css', 'pug', 'img', 'fonts']);
-
-gulp.task('bower', function() {
- return bower()
- .pipe(gulp.dest(config.bowerDir));
-});
+gulp.task('default', ['css', 'pug', 'img', 'fonts']);
gulp.task('css', function() {
return gulp.src(config.sassPath + '/style.scss')
@@ -30,7 +23,7 @@ gulp.task('css', function() {
style: 'compressed',
loadPath: [
'./resources/sass',
- config.bowerDir + '/bootstrap-sass-official/assets/stylesheets'
+ './node_modules/bootstrap-sass/assets/stylesheets'
]
})
.on('error', notify.onError(function (error) {