(pkg)
| 256 | * Given a package name, retrieve the package.json data |
| 257 | */ |
| 258 | export function getPackageJSON(pkg) { |
| 259 | const packageJSONRaw = fs.readFileSync(`${packagesDir}/${pkg}/package.json`) |
| 260 | return JSON.parse(packageJSONRaw) |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * write package.json file to file system for a given package |
no outgoing calls
no test coverage detected