Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Remove bower
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbraden committed Oct 12, 2015
1 parent e5719b7 commit 2bf0dd5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ node_modules
.sass-cache
.DS_Store
*.orig
bower_components
.tmp
7 changes: 0 additions & 7 deletions bower.json

This file was deleted.

3 changes: 1 addition & 2 deletions gulp/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ module.exports = function () {
content: 'content/',
assets: 'assets/',
dest: 'build/',
tmp: '.tmp/',
bower: 'bower_components/'
tmp: '.tmp/'
};

var languages = ['en'];
Expand Down
3 changes: 1 addition & 2 deletions gulp/tasks/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ var handleError = require('../utils/handleError');
module.exports = function (gulp, $, config) {
var srcFiles = config.appFiles.styles;
var destFiles = config.paths.styles.dest;
var bowerFiles = config.basePaths.bower;

return function () {
return gulp.src(srcFiles)
Expand All @@ -14,7 +13,7 @@ module.exports = function (gulp, $, config) {
extensions: ['.scss']
}))
.pipe($.sourcemaps.init())
.pipe($.sass({includePaths: [bowerFiles]}))
.pipe($.sass({includePaths: []}))
.pipe($.autoprefixer({browsers: ['last 2 versions', 'ie 9']}))
.pipe($.sourcemaps.write({includeContent: true}))
.pipe(gulp.dest(destFiles))
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"version": "0.0.0",
"main": "dist/index.html",
"scripts": {
"postinstall": "node_modules/bower/bin/bower install",
"postupdate": "node_modules/bower/bin/bower install"
},
"dependencies": {},
"dependencies": {
"sensible": "^0.5.4"
},
"devDependencies": {
"bower": "^1.3.12",
"browser-sync": "^2.6.5",
"del": "^1.1.1",
"gulp": "^3.8.11",
Expand Down

0 comments on commit 2bf0dd5

Please sign in to comment.