Skip to content

Commit

Permalink
Remove gulp-eslint and gulp-util dependency (#7949)
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh authored Jan 30, 2020
1 parent 739b5df commit 0001b49
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 344 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const envify = require('envify/custom')
const gulp = require('gulp')
const source = require('vinyl-source-stream')
const buffer = require('vinyl-buffer')
const gutil = require('gulp-util')
const log = require('fancy-log')
const watch = require('gulp-watch')
const sourcemaps = require('gulp-sourcemaps')
const jsoneditor = require('gulp-json-editor')
Expand Down Expand Up @@ -626,7 +626,7 @@ function bundleTask (opts) {
if (!bundler) {
bundler = generateBundler(opts, performBundle)
// output build logs to terminal
bundler.on('log', gutil.log)
bundler.on('log', log)
}

let buildStream = bundler.bundle()
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-mocha": "^5.0.0",
"eslint-plugin-react": "^7.4.0",
"fancy-log": "^1.3.3",
"fetch-mock": "^6.5.2",
"file-loader": "^1.1.11",
"ganache-cli": "^6.4.4",
Expand All @@ -223,9 +224,8 @@
"gulp-autoprefixer": "^5.0.0",
"gulp-babel": "^7.0.0",
"gulp-debug": "^3.2.0",
"gulp-eslint": "^4.0.0",
"gulp-imagemin": "^6.1.0",
"gulp-json-editor": "^2.2.1",
"gulp-json-editor": "^2.5.4",
"gulp-livereload": "4.0.0",
"gulp-multi-process": "^1.3.1",
"gulp-rename": "^1.4.0",
Expand All @@ -235,7 +235,6 @@
"gulp-sourcemaps": "^2.6.0",
"gulp-stylelint": "^7.0.0",
"gulp-terser-js": "^5.0.0",
"gulp-util": "^3.0.7",
"gulp-watch": "^5.0.1",
"gulp-zip": "^4.0.0",
"http-server": "^0.11.1",
Expand Down
Loading

0 comments on commit 0001b49

Please sign in to comment.