MCPcopy Index your code
hub / github.com/formatjs/formatjs / readPackageJson

Function readPackageJson

tools/check_dist_package_json.ts:35–37  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

33}
34
35function readPackageJson(path: string): PackageJson {
36 return JSON.parse(readFileSync(path, 'utf8')) as PackageJson
37}
38
39function dependencyEntries(
40 packageJson: PackageJson,

Callers 1

mainFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected