chore: update dependencies

This commit is contained in:
Sebastian Velez
2023-01-11 09:03:05 -05:00
parent 34f179a8eb
commit 32432d470d
13 changed files with 41078 additions and 16343 deletions

View File

@@ -7,14 +7,16 @@ import * as shelljs from 'shelljs';
import waitOn from 'wait-on';
const { load, exec, serial, concurrent } = require('@xarc/run');
const waitForFilesTask = (...files: string[]) => (): Promise<unknown> => {
return waitOn({
delay: 2000,
interval: 3000,
resources: [...files],
verbose: true,
});
};
const waitForFilesTask =
(...files: string[]) =>
(): Promise<unknown> => {
return waitOn({
delay: 2000,
interval: 3000,
resources: [...files],
verbose: true,
});
};
const nextBuildFolder = join(__dirname, 'dist');
const ffNextBuildFolder = join(nextBuildFolder, 'firefox');
const chromeNextBuildFolder = join(nextBuildFolder, 'chrome');
@@ -64,7 +66,7 @@ const copyFromNodeModules = () => {
};
load({
build: [
serial('postinstall', exec('gulp')),
serial('postinstall'),
'webpack',
concurrent(
exec('web-ext build'),
@@ -99,7 +101,7 @@ load({
'public/js/events.js',
'options.html',
),
watch: concurrent('watch-jest', 'webpack:watch', 'remotedev-server'),
watch: concurrent('watch-jest', 'webpack:watch'),
'watch-jest': exec('jest --watch'),
'web-ext:run:chrome': concurrent('web-ext:run:chrome-next', 'web-ext:run:chrome-legacy'),
'web-ext:run:chrome-legacy': [