@oclif/core
Version:
base library for oclif CLIs
8 lines (7 loc) • 337 B
TypeScript
import { PJSON } from '../interfaces';
/**
* Read the package.json file from a given path and add the oclif config (found by lilconfig) if it exists.
*
* We can assume that the package.json file exists because the plugin root has already been loaded at this point.
*/
export declare function readPjson(path: string): Promise<PJSON>;