@netlify/build
Version:
Netlify build module
11 lines (10 loc) • 329 B
TypeScript
import { type Options, type PackageJson } from 'read-package-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 {};