(path, value)
| 88 | const readJson = (path) => JSON.parse(readFileSync(path, "utf8")) |
| 89 | |
| 90 | const writeJson = (path, value) => { |
| 91 | mkdirSync(dirname(path), { recursive: true }) |
| 92 | writeFileSync(path, `${JSON.stringify(value, null, 2)}\n`) |
| 93 | } |
| 94 | |
| 95 | const writeSource = (path, source) => { |
| 96 | mkdirSync(dirname(path), { recursive: true }) |
no test coverage detected