UNPKG

lockfile-guardian

Version:

Never forget to install dependencies again! Automatically detect when your lock files change after git operations and warn you (or auto-install) when your dependencies are out of sync.

17 lines 612 B
/** * Add post-install script to package.json that will update lockfile hash after installs */ export declare function installPostInstallHook(cwd?: string): void; /** * Remove post-install script hook from package.json */ export declare function uninstallPostInstallHook(cwd?: string): void; /** * Check if post-install hook is installed */ export declare function isPostInstallHookInstalled(cwd?: string): boolean; /** * The actual post-install hook that gets called after package installation */ export declare function runPostInstallHook(cwd?: string): void; //# sourceMappingURL=post-install.d.ts.map