MCPcopy
hub / github.com/philc/vimium / parseManifestFile

Function parseManifestFile

make.js:87–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87async function parseManifestFile() {
88 // Chrome's manifest.json supports JavaScript comment syntax. However, the Chrome Store rejects
89 // manifests with JavaScript comments in them! So here we use the JSON5 library, rather than JSON
90 // library, to parse our manifest.json and remove its comments.
91 return JSON5.parse(await Deno.readTextFile("./manifest.json"));
92}
93
94async function checkForBuildIssues() {
95 // Ensure the version number is properly formed.

Callers 3

checkForBuildIssuesFunction · 0.85
buildStorePackageFunction · 0.85
make.jsFile · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected