MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / readPackageJson

Function readPackageJson

scripts/bump-version.test.ts:17–19  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

15}
16
17function readPackageJson(dir: string): Record<string, any> {
18 return JSON.parse(fs.readFileSync(path.join(dir, 'package.json'), 'utf-8'));
19}
20
21function setupFixture({
22 workspaces,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected