UNPKG

@netlify/build

Version:
11 lines (10 loc) 315 B
import { Options, PackageJson } from 'read-pkg-up'; type PackageResult = { packageJson: PackageJson; packageDir?: string; }; /** * Retrieve `package.json` from a specific directory */ export declare const getPackageJson: (cwd: string, options?: Omit<Options, "cwd">) => Promise<PackageResult>; export {};