docs: function findProjectRoot(currentPath) {
    var result = undefined;
  
    try {
      var packageStats = lstatSync(path.join(currentPath, 'package.json'));
  
      if (packageStats.isFile()) {
        result = currentPath;
      }
    } catch (error) {
      if (currentPath !== path.resolve('/')) {
        result = findProjectRoot(path.join(currentPath, '..'));
      }
    }
  
    return result;
  }