Skip to content

Commit 0fcdc2e

Browse files
authored
Merge pull request #372 from Ousret/upgrade-gulp
Upgrade gulp to version 4
2 parents 81cf14b + 00ccca3 commit 0fcdc2e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Resources/gulpfile.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,4 @@ gulp.task('js', function() {
1717
.pipe(gulp.dest('public/js'));
1818
});
1919

20-
gulp.task('default', function() {
21-
return gulp.start(['js']);
22-
});
20+
gulp.task('default', gulp.series('js'));

Resources/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@
3232
"babel-polyfill": "^6.9.1",
3333
"babel-preset-es2015": "^6.9.0",
3434
"babel-register": "^6.11.6",
35-
"gulp": "^3.9.1",
35+
"google-closure-library": "^20171203.0.0",
36+
"gulp": "^4.0.2",
3637
"gulp-babel": "^6.1.2",
3738
"gulp-rename": "^1.2.2",
3839
"gulp-uglify": "^1.5.4",
3940
"gulp-wrap": "^0.13.0",
40-
"jasmine": "^2.4.1",
41-
"google-closure-library": "^20171203.0.0"
41+
"jasmine": "^2.4.1"
4242
},
4343
"scripts": {
4444
"build": "gulp",
4545
"test": "npm run build && phantomjs js/run_jsunit.js js/router_test.html"
46-
}
46+
},
47+
"dependencies": {}
4748
}

0 commit comments

Comments
 (0)