()
| 85 | } |
| 86 | |
| 87 | async 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 | |
| 94 | async function checkForBuildIssues() { |
| 95 | // Ensure the version number is properly formed. |
no test coverage detected