Skip to content

Commit d588270

Browse files
committed
update dependencies
1 parent c48b84d commit d588270

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

gulpfile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gulp.task('jsdoc', shell.task([
2222
'./node_modules/.bin/jsdoc -c ./doc-config.json'
2323
]));
2424

25-
gulp.task('lint', function () {
25+
gulp.task('lint', ()=> {
2626
return gulp.src(['./src/**/*.js'], ['./test/**/*.js'])
2727
.pipe(jshint())
2828
.pipe(jshint.reporter(jshintXMLReporter))
@@ -33,15 +33,15 @@ gulp.task('lint', function () {
3333
}));
3434
});
3535

36-
gulp.task('pre-test', function () {
36+
gulp.task('pre-test', ()=> {
3737
return gulp.src(['./src/**/*.js'])
3838
// Covering files
3939
.pipe(istanbul())
4040
// Force `require` to return covered files
4141
.pipe(istanbul.hookRequire());
4242
});
4343

44-
gulp.task('test', ['pre-test'], function () {
44+
gulp.task('test', gulp.series(['pre-test'], ()=> {
4545
return gulp.src('test/**/*.spec.js')
4646
.pipe(jasmine({
4747
reporter: new reporters.JUnitXmlReporter({
@@ -54,9 +54,9 @@ gulp.task('test', ['pre-test'], function () {
5454
dir: './test/reports/coverage',
5555
reporters: ['clover']
5656
}));
57-
});
57+
}));
5858

59-
gulp.task('jscs', function () {
59+
gulp.task('jscs', ()=> {
6060
return gulp.src(['src/**/*.js', 'test/**/*.js'])
6161
.pipe(jscs({
6262
esnext: false,
@@ -68,4 +68,4 @@ gulp.task('jscs', function () {
6868
});
6969

7070

71-
gulp.task('build', ['lint', 'jscs', 'test']);
71+
gulp.task('build', gulp.parallel(['lint', 'jscs', 'test']));

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@
77
"test": "test"
88
},
99
"devDependencies": {
10-
"gulp": "^3.8.10",
11-
"gulp-istanbul": "^0.10.4",
12-
"gulp-jasmine": "^2.0.1",
13-
"gulp-jscs": "^1.4.0",
10+
"gulp": "^4.0.2",
11+
"gulp-istanbul": "^1.1.3",
12+
"gulp-jasmine": "^4.0.0",
13+
"gulp-jscs": "^4.1.0",
1414
"gulp-jscs-custom": "^0.1.6",
15-
"gulp-jshint": "^1.9.0",
15+
"gulp-jshint": "^2.1.0",
1616
"gulp-jshint-xml-file-reporter": "^0.5.1",
17-
"gulp-shell": "^0.2.11",
18-
"jasmine-reporters": "~2.4.0",
17+
"gulp-shell": "^0.8.0",
18+
"jasmine-reporters": "~2.5.2",
1919
"jsdoc": "3.4.0",
20-
"jshint-stylish": "^1.0.0"
20+
"jshint": "^2.13.6",
21+
"jshint-stylish": "^2.2.1"
2122
},
2223
"scripts": {
2324
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)