diff options
author | Camil Staps | 2018-09-02 23:03:09 +0200 |
---|---|---|
committer | Camil Staps | 2018-09-02 23:03:09 +0200 |
commit | 3e904940b9b4b76c12caeb18fac57e3ad59fe837 (patch) | |
tree | f42dcbf4cebe953ef9b5914e195b2ada3110e89d | |
parent | Use ndash where applicable (diff) |
Drop bower
-rw-r--r-- | bower.json | 16 | ||||
-rw-r--r-- | gulpfile.js | 13 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 4 insertions, 27 deletions
diff --git a/bower.json b/bower.json deleted file mode 100644 index b8e84e7..0000000 --- a/bower.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "camilstaps.nl", - "version": "0.1", - "homepage": "https://camilstaps.nl", - "authors": ["Camil Staps <info@camilstaps.nl>"], - "private": true, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "build" - ], - "dependencies": { - "bootstrap-sass-official": "~3.3.2" - } -} 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) { diff --git a/package.json b/package.json index 5683a9d..34f307a 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "camilstaps.nl", "version": "0.1.0", "devDependencies": { + "bootstrap-sass": "~3.3.2", "gulp": "^3.9.1", - "gulp-bower": "0.0.14", "gulp-changed": "~3.2.0", "gulp-minify-html": "^1.0.6", "gulp-notify": "^2.2.0", |