Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #569 from 18F/upgrade-gulp
Browse files Browse the repository at this point in the history
Upgrades gulp to 4.0.0, chips away at #563
  • Loading branch information
afeld authored Jul 17, 2018
2 parents 83e3a1b + aac8f61 commit 3185eac
Show file tree
Hide file tree
Showing 3 changed files with 621 additions and 288 deletions.
14 changes: 8 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ var paths = {
}

gulp.task('clean', clean)
gulp.task('copy', ['clean'], copy)
gulp.task('fonts', ['clean'], fonts)
gulp.task('images', ['clean'], images)
gulp.task('lint', [], sasslint(paths.sass.local, paths.sass.rules))
gulp.task('build', ['clean', 'copy', 'fonts', 'images'])
gulp.task('default', ['build'])
gulp.task('copy', copy)
gulp.task('fonts', fonts)
gulp.task('images', images)
gulp.task('lint', sasslint(paths.sass.local, paths.sass.rules))
gulp.task('build',
gulp.series('clean',
gulp.parallel('copy', 'fonts', 'images')))
gulp.task('default', gulp.series('build'))

function clean () {
'use strict'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"eslint-plugin-react": "^7.10.0",
"file-saver": "^1.3.8",
"font-awesome": "^4.7.0",
"gulp": "^3.9.1",
"gulp": "^4.0.0",
"history": "^4.7.2",
"jest": "^23.1.0",
"jsdoc": "^3.5.5",
Expand Down
Loading

0 comments on commit 3185eac

Please sign in to comment.