* Get relative path for display
(filePath, frameworksDir)
| 200 | * Get relative path for display |
| 201 | */ |
| 202 | function getDisplayPath(filePath, frameworksDir) { |
| 203 | const relativePath = relative(frameworksDir, filePath) |
| 204 | // Remove the package.json part |
| 205 | return relativePath.replace('/package.json', '') |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * Check dependencies in a package.json file |