Commit ac4a5547 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] fix css filtering and update all dependencies

parent 7ef4ea47
......@@ -54,10 +54,8 @@ function processCss() {
}
function processCssAndSync() {
var filter = plugins.filter(filterPattern);
return processCss()
.pipe(filter)
.pipe(plugins.browserSync.stream());
.pipe(plugins.browserSync.stream({match: '**/*.css'}));
}
gulp.task('css:sprites', function() {
......@@ -105,6 +103,6 @@ gulp.task('css:qa', function() {
}));
});
gulp.task('css', gulp.series(gulp.parallel('css:sprites', 'css:svg'), processCss, 'css:abovethefold'));
gulp.task('css', gulp.series(gulp.parallel('css:sprites', 'css:svg', 'css:qa'), processCss, 'css:abovethefold'));
gulp.task('css:compileAndSync', gulp.series(gulp.parallel('css:sprites', 'css:svg'), processCssAndSync, 'css:abovethefold'));
gulp.task('css:compileAndSync', gulp.series(gulp.parallel('css:sprites', 'css:svg', 'css:qa'), processCssAndSync, 'css:abovethefold'));
......@@ -6,9 +6,7 @@
"url": "git@gitlab.sgalinski.de:toolchain/sgc.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"toolchain:upgrade": "rm -rf node_modules && rm npm-shrinkwrap.json && npm install && npm shrinkwrap --dev",
"toolchain:update": "rm -rf node_modules && npm install"
"test": "echo \"Error: no test specified\" && exit 1"
},
"license": "SEE LICENSE IN LICENSE.md",
"devDependencies": {},
......@@ -16,41 +14,41 @@
"node": "~6.7.0"
},
"dependencies": {
"babel-preset-es2015": "^6.14.0",
"babel-preset-es2015": "^6.16.0",
"babelify": "^7.3.0",
"browser-sync": "^2.13.0",
"browserify": "^13.0.1",
"event-stream": "^3.3.3",
"browser-sync": "^2.17.0",
"browserify": "^13.1.0",
"event-stream": "^3.3.4",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-autoprefixer": "^3.1.0",
"gulp-autoprefixer": "^3.1.1",
"gulp-check-filesize": "^2.0.1",
"gulp-clean-css": "^2.0.11",
"gulp-clean-css": "^2.0.13",
"gulp-css-image-dimensions": "^1.1.4",
"gulp-filter": "^3.0.1",
"gulp-filter": "^4.0.0",
"gulp-hub": "^0.8.0",
"gulp-if": "^2.0.0",
"gulp-imagemin": "^3.0.1",
"gulp-inline-source": "^2.1.0",
"gulp-if": "^2.0.1",
"gulp-imagemin": "^3.0.3",
"gulp-inline-source": "^3.0.0",
"gulp-inline-svg": "^1.0.3",
"gulp-jshint": "^2.0.1",
"gulp-load-plugins": "^1.2.4",
"gulp-load-plugins": "^1.3.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.3.2",
"gulp-scss-lint": "^0.4.0",
"gulp-scss-lint-stylish": "^1.0.1",
"gulp-sourcemaps": "^1.6.0",
"gulp-svgmin": "^1.2.2",
"gulp-uglify": "^1.5.4",
"gulp-svgmin": "^1.2.3",
"gulp-uglify": "^2.0.0",
"gulp-util": "^3.0.7",
"gulp.spritesmith": "^6.2.1",
"jshint": "^2.9.2",
"jshint-stylish": "^2.2.0",
"jshint": "^2.9.3",
"jshint-stylish": "^2.2.1",
"lazypipe": "^1.0.1",
"merge-stream": "^1.0.0",
"tsify": "^1.0.8",
"typescript": "^2.0.3",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"yargs": "^4.8.0"
"yargs": "^6.0.0"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment