code: function getSharedDeps(pkgs, hash) {
    return pkgs.map(({ name }) => {
      if (hash[name]) {
        return name;
      }
      return false;
    }).filter(Boolean);
  }
docs: getSharedDeps will show any shared dependencies between project & target dir
  @param  {Array} pkgs   An array of dependencies
  @param  {Object} hash  A hash map of our deps
  @return {Array}  Array of shared dep names