src/buildTreeData.js
function formatProjectPath(filePath = '') {
  let dir = path.relative(process.cwd(), path.dirname(filePath));
  return dir + (dir ? path.sep : '') + path.basename(filePath);
}
function formatProjectPath(filePath = '') {
  let dir = path.relative(process.cwd(), path.dirname(filePath));
  return dir + (dir ? path.sep : '') + path.basename(filePath);
}
function formatProjectPath ( filePath = '' ) { let dir = path . relative ( process . cwd ( ) , path . dirname ( filePath ) ) ; return dir + ( dir ? path . sep : '' ) + path . basename ( filePath ) ; }
path relative to project root
path relative to project root