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