60 lines
1.7 KiB
TypeScript
Raw Normal View History

2022-04-18 12:47:23 -08:00
/**
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2022-04-18 16:50:25 -08:00
import colorsLibrary from 'colors/safe';
export const colors = colorsLibrary;
import debugLibrary from 'debug';
export const debug = debugLibrary;
export { getProxyForUrl } from 'proxy-from-env';
export { HttpsProxyAgent } from 'https-proxy-agent';
2022-04-18 12:47:23 -08:00
2022-04-18 19:20:49 -08:00
import jpegLibrary from 'jpeg-js';
export const jpegjs = jpegLibrary;
2022-04-18 12:47:23 -08:00
import lockfileLibrary from 'proper-lockfile';
export const lockfile = lockfileLibrary;
2022-04-18 19:20:49 -08:00
import mimeLibrary from 'mime';
export const mime = mimeLibrary;
2022-04-18 20:47:18 -08:00
import minimatchLibrary from 'minimatch';
export const minimatch = minimatchLibrary;
2022-04-18 19:20:49 -08:00
export { PNG } from 'pngjs';
2022-04-18 16:50:25 -08:00
export { program } from 'commander';
2022-04-18 19:20:49 -08:00
import progressLibrary from 'progress';
export const progress = progressLibrary;
2022-04-18 16:50:25 -08:00
import rimrafLibrary from 'rimraf';
export const rimraf = rimrafLibrary;
2022-04-18 12:47:23 -08:00
export { SocksProxyAgent } from 'socks-proxy-agent';
2022-04-18 16:50:25 -08:00
import StackUtilsLibrary from 'stack-utils';
export const StackUtils = StackUtilsLibrary;
2022-04-18 19:20:49 -08:00
// @ts-ignore
import wsLibrary, { WebSocketServer, Receiver, Sender } from 'ws';
2022-04-18 19:20:49 -08:00
export const ws = wsLibrary;
export const wsServer = WebSocketServer;
export const wsReceiver = Receiver;
export const wsSender = Sender;