Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
const
getPackageJson =
async
(dir: string): Promise<PackageJson> => {
20
return
await
fs.readJson(path.join(dir,
'package.json'
),
'utf8'
);
21
};
22
23
interface
RebuildOptions {
24
cwd?: string;
Callers
1
rebuild
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected