MCPcopy Create free account
hub / github.com/fontsource/fontsource / getPackageJson

Function getPackageJson

packages/cli/src/custom/rebuilder.ts:19–21  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

17}
18
19const getPackageJson = async (dir: string): Promise<PackageJson> => {
20 return await fs.readJson(path.join(dir, 'package.json'), 'utf8');
21};
22
23interface RebuildOptions {
24 cwd?: string;

Callers 1

rebuildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected