Skip to content

Commit d6b9016

Browse files
committed
update dependencies
1 parent 47058aa commit d6b9016

File tree

8 files changed

+33
-30
lines changed

8 files changed

+33
-30
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

gulp/tasks/assets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ var localConfig = {
1111
cleanSrc: './build/assets'
1212
};
1313

14-
gulp.task('clean:assets', function (cb) {
15-
del([localConfig.cleanSrc], cb);
14+
gulp.task('clean:assets', function () {
15+
return del([localConfig.cleanSrc]);
1616
});
1717

1818
gulp.task('assets', ['clean:assets'], function() {

gulp/tasks/clean.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var localConfig = {
66
buildSrc: './build'
77
};
88

9-
gulp.task('clean', function (cb) {
9+
gulp.task('clean', function () {
1010
cached.caches = {};
11-
del([localConfig.buildSrc], cb);
11+
return del([localConfig.buildSrc]);
1212
});

gulp/tasks/jade.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ var localConfig = {
1212
cleanSrc: './build/**/*.html'
1313
};
1414

15-
gulp.task('clean:html', function (cb) {
16-
del([localConfig.cleanSrc], cb);
15+
gulp.task('clean:html', function () {
16+
return del([localConfig.cleanSrc]);
1717
});
1818

1919
gulp.task('jade', ['clean:html'], function () {

gulp/tasks/sass.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ var localConfig = {
1818
}
1919
};
2020

21-
gulp.task('clean:css', function (cb) {
22-
del(localConfig.cleanSrc, cb);
21+
gulp.task('clean:css', function () {
22+
return del(localConfig.cleanSrc);
2323
});
2424

2525
gulp.task('sass', ['clean:css'], function () {

gulp/tasks/scripts.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ var gulp = require('gulp'),
88
preprocess = require('gulp-preprocess'),
99
sourcemaps = require('gulp-sourcemaps'),
1010
gulpif = require('gulp-if'),
11-
del = require('del'),
1211
globalConfig = require('../config');
1312

1413
var localConfig = {

gulp/tasks/vendor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ var localConfig = {
3333
}
3434
};
3535

36-
gulp.task('clean:vendor:js', function(cb) {
37-
del([localConfig.cleanJsSrc], cb);
36+
gulp.task('clean:vendor:js', function() {
37+
return del([localConfig.cleanJsSrc]);
3838
});
3939

4040
gulp.task('vendor:js', ['clean:vendor:js'], function() {
@@ -44,8 +44,8 @@ gulp.task('vendor:js', ['clean:vendor:js'], function() {
4444
.pipe(gulp.dest(localConfig.buildJsSrc));
4545
});
4646

47-
gulp.task('clean:vendor:css', function(cb) {
48-
del([localConfig.cleanCssSrc], cb);
47+
gulp.task('clean:vendor:css', function() {
48+
return del([localConfig.cleanCssSrc]);
4949
});
5050

5151
gulp.task('vendor:css', ['clean:vendor:css'], function() {

package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,37 @@
2525
},
2626
"homepage": "https://github.com/Wolox/frontend-bootstrap",
2727
"dependencies": {
28-
"babel-eslint": "^4.0.10",
29-
"bower": "^1.4.1",
30-
"browser-sync": "^2.8.2",
31-
"del": "^1.2.0",
28+
"babel-eslint": "^5.0.0-beta6",
29+
"bower": "^1.7.2",
30+
"browser-sync": "^2.11.0",
31+
"del": "^2.2.0",
3232
"gulp": "^3.9.0",
33-
"gulp-autoprefixer": "^2.3.1",
34-
"gulp-awspublish": "^2.0.2",
35-
"gulp-babel": "^5.2.0",
33+
"gulp-autoprefixer": "^3.1.0",
34+
"gulp-awspublish": "^3.0.1",
35+
"gulp-babel": "^6.1.1",
3636
"gulp-cached": "^1.1.0",
3737
"gulp-concat": "^2.6.0",
38-
"gulp-connect": "^2.2.0",
39-
"gulp-eslint": "^1.0.0",
38+
"gulp-connect": "^2.3.1",
39+
"gulp-eslint": "^1.1.1",
4040
"gulp-filter": "^3.0.1",
41-
"gulp-if": "^1.2.5",
42-
"gulp-inject": "^1.5.0",
41+
"gulp-if": "^2.0.0",
42+
"gulp-inject": "^3.0.0",
4343
"gulp-jade": "^1.1.0",
44-
"gulp-preprocess": "^1.2.0",
44+
"gulp-preprocess": "^2.0.0",
4545
"gulp-plumber": "^1.0.1",
46-
"gulp-sass": "^2.0.4",
47-
"gulp-sourcemaps": "^1.5.2",
48-
"gulp-uglify": "^1.2.0",
46+
"gulp-sass": "^2.1.1",
47+
"gulp-sourcemaps": "^1.6.0",
48+
"gulp-uglify": "^1.5.1",
4949
"prompt": "^0.2.14",
5050
"require-dir": "^0.3.0",
51-
"run-sequence": "^1.1.2",
51+
"run-sequence": "^1.1.5",
5252
"stream-series": "^0.1.1"
5353
},
5454
"devDependencies": {
55+
"babel-preset-es2015": "^6.3.13",
5556
"gulp-cssnano": "^2.1.0",
5657
"gulp-sass-lint": "^1.1.0",
5758
"gulp-webp": "^2.3.0",
58-
"node-notifier": "^4.3.1"
59+
"node-notifier": "^4.4.0"
5960
}
6061
}

0 commit comments

Comments
 (0)