(filePath)
| 36 | }; |
| 37 | |
| 38 | let parseJSONFile = function (filePath) { |
| 39 | try { |
| 40 | if (fileExistsSync(filePath)) { |
| 41 | return JSON.parse(fs.readFileSync(filePath, { encoding: 'utf8' })); |
| 42 | } |
| 43 | } catch (e) {} |
| 44 | |
| 45 | return {}; |
| 46 | }; |
| 47 | |
| 48 | let parsePackageFile = function (moduleDir) { |
| 49 | let packageFile = path.join(moduleDir, 'package.json'); |
no test coverage detected
searching dependent graphs…