UNPKG

swap-lock-registry

Version:

A CLI tool to swap the registry URL in the lock file without having to remove it

6 lines (5 loc) 362 B
import { TraitPackageOptions } from './utils'; import { TraitOptions } from './types'; export declare function traitNpmLockFile(lockFile: string, opts: TraitOptions): Promise<void>; export declare function processDependencies(dependencies: any, opts: TraitPackageOptions): Promise<void>; export declare function parseNpmLockFile(lockFile: string): Promise<any>;