mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-15 18:02:55 +12:00
remove gulp-util
This commit is contained in:
parent
9a2e60c1c9
commit
f60c360c1e
|
@ -1,7 +1,6 @@
|
|||
|
||||
// gulp and utilities
|
||||
import gulp from 'gulp'
|
||||
import gutil from 'gulp-util'
|
||||
import del from 'del'
|
||||
import watch from 'gulp-watch'
|
||||
import filter from 'gulp-filter'
|
||||
|
@ -9,6 +8,8 @@ import change from 'gulp-change'
|
|||
import rename from 'gulp-rename'
|
||||
import banner from 'gulp-banner'
|
||||
import chmod from 'gulp-chmod'
|
||||
import PluginError from 'plugin-error'
|
||||
import log from 'fancy-log'
|
||||
|
||||
import jsonedit from 'gulp-json-editor'
|
||||
import zip from 'gulp-zip'
|
||||
|
@ -70,8 +71,8 @@ function webpackTask () {
|
|||
p.then((results) => {
|
||||
// run webpack compiler
|
||||
wpCompiler.run(function (err, stats) {
|
||||
if (err) throw new gutil.PluginError('webpack', err)
|
||||
gutil.log('[webpack]', stats.toString({
|
||||
if (err) throw new PluginError('webpack', err)
|
||||
log('[webpack]', stats.toString({
|
||||
colors: true,
|
||||
hash: false,
|
||||
version: false,
|
||||
|
@ -207,9 +208,9 @@ gulp.task('watch', gulp.series('default', gulp.parallel('watch:lint', 'watch:pac
|
|||
/*
|
||||
gulp.task('pack:safari', (done) => {
|
||||
exec('rm -rf fimfic2epub.safariextension/; cp -r extension/ fimfic2epub.safariextension', [], (error, stdout, stderr) => {
|
||||
// gutil.log('[pack:safari]', stdout)
|
||||
// log('[pack:safari]', stdout)
|
||||
if (error || stderr) {
|
||||
done(new gutil.PluginError('pack:safari', stderr, {showStack: false}))
|
||||
done(new PluginError('pack:safari', stderr, {showStack: false}))
|
||||
return
|
||||
}
|
||||
done()
|
||||
|
|
1141
package-lock.json
generated
1141
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -59,6 +59,7 @@
|
|||
"eslint": "^6.5.1",
|
||||
"eslint-plugin-standard": "^4.0.1",
|
||||
"exports-loader": "^0.7.0",
|
||||
"fancy-log": "^1.3.3",
|
||||
"file-saver": "^2.0.2",
|
||||
"font-awesome": "4.7.0",
|
||||
"gulp": "^4.0.2",
|
||||
|
@ -69,9 +70,9 @@
|
|||
"gulp-json-editor": "^2.5.3",
|
||||
"gulp-rename": "^1.4.0",
|
||||
"gulp-standard": "^14.0.0",
|
||||
"gulp-util": "^3.0.8",
|
||||
"gulp-watch": "^5.0.1",
|
||||
"gulp-zip": "^5.0.1",
|
||||
"plugin-error": "^1.0.1",
|
||||
"raw-loader": "^3.1.0",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"removeNPMAbsolutePaths": "^2.0.0",
|
||||
|
|
Loading…
Reference in a new issue