commit 58cf8f88116f870e202e7e5fd6b7a19b13670fef
parent 0c5b4afb06d744dd98be0011b8dd3efd48323445
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Mon, 22 Sep 2014 11:31:59 +0400
Update npm package(s): browser-sync, gulp-autoprefixer
Diffstat:
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/gulpfile.js b/gulpfile.js
@@ -101,9 +101,12 @@ gulp.task('styles', function () {
src.styles = 'src/styles/**/*.{css,less}';
return gulp.src('src/styles/bootstrap.less')
.pipe($.plumber())
- .pipe($.less({sourceMap: !RELEASE, sourceMapBasepath: __dirname}))
- .on('error', $.util.log)
- .pipe($.autoprefixer(AUTOPREFIXER_BROWSERS))
+ .pipe($.less({
+ sourceMap: !RELEASE,
+ sourceMapBasepath: __dirname})
+ .on('error', console.error.bind(console))
+ )
+ .pipe($.autoprefixer({browsers: AUTOPREFIXER_BROWSERS }))
.pipe($.csscomb())
.pipe($.if(RELEASE, $.minifyCss()))
.pipe(gulp.dest(DEST + '/css'))
diff --git a/package.json b/package.json
@@ -11,10 +11,10 @@
"react-router": "^0.7.0"
},
"devDependencies": {
- "browser-sync": "^1.3.7",
+ "browser-sync": "^1.5.1",
"del": "^0.1.3",
"gulp": "^3.8.8",
- "gulp-autoprefixer": "1.0.0",
+ "gulp-autoprefixer": "1.0.1",
"gulp-cache": "^0.2.2",
"gulp-changed": "^1.0.0",
"gulp-csscomb": "^3.0.2",