Skip to content

Commit 47f0600

Browse files
committed
Merge branch 'master' into timestamp
# Conflicts: # package-lock.json
2 parents 41174bc + d98bed8 commit 47f0600

File tree

8 files changed

+4329
-2321
lines changed

8 files changed

+4329
-2321
lines changed

.jshintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"node": true
2+
"node": true,
3+
"esversion": 6
34
}

gulpfile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ gulp.task('cover', function () {
5656
.pipe(plugins.istanbul.hookRequire());
5757
});
5858

59-
gulp.task('test', ['cover'], function () {
59+
gulp.task('test', gulp.series('cover', function () {
6060
return gulp.src('test/unit/*.js')
6161
.pipe(plugins.mocha({
6262
grep: argv.grep
6363
}))
6464
.pipe(plugins.istanbul.writeReports());
65-
});
65+
}));
6666

6767
gulp.task('karma', function (cb) {
6868
new Server({
@@ -92,7 +92,7 @@ gulp.task('karma', function (cb) {
9292
}, cb).start();
9393
});
9494

95-
gulp.task('smoke', ['bundle-smoke'], function (cb) {
95+
gulp.task('smoke', gulp.series('bundle-smoke', function (cb) {
9696
new Server({
9797
frameworks: ['mocha', 'chai'],
9898
browsers: ['PhantomJS'],
@@ -111,7 +111,7 @@ gulp.task('smoke', ['bundle-smoke'], function (cb) {
111111
autoWatch: false,
112112
singleRun: true
113113
}, cb).start();
114-
});
114+
}));
115115

116116
gulp.task('lint', function () {
117117
return gulp.src(['./gulpfile.js', './src/**/*.js', './test/**/*.js'])
@@ -129,7 +129,7 @@ gulp.task('bump', function () {
129129
.pipe(gulp.dest('./'));
130130
});
131131

132-
gulp.task('release', ['bundle', 'bump'], function () {
132+
gulp.task('release', gulp.series('bundle', 'bump', function () {
133133
var versionString = 'v' + version();
134134
var message = 'Release ' + versionString;
135135
return plugins.shell.task([
@@ -140,4 +140,4 @@ gulp.task('release', ['bundle', 'bump'], function () {
140140
'git push',
141141
'git push --tags'
142142
])();
143-
});
143+
}));

0 commit comments

Comments
 (0)