UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

17 lines (16 loc) 637 B
export interface PackageJson { name: string; version: string; dependencies: Record<string, string>; devDependencies: Record<string, string>; scripts: Record<string, string>; } /** * Reads and parses the package.json file. * * This function attempts to read the package.json file specified by `packageJsonFile`, parse its content as JSON, * and return the parsed object. If the file cannot be read or parsed, it logs an error message and exits the process. * * @returns {Promise<any>} A promise that resolves to the parsed package.json object. */ export declare function getPackageJson(): Promise<PackageJson>;