lib/bem-dirs.js
function bemDirs(bemdeps) {
  const dirFilter = {};
  bemdeps.forEach((dep) => {
    const depPath = bemPath(dep);
    const depDir = path.dirname(depPath);
    dirFilter[depDir] = true;
  });

  return Object.keys(dirFilter);
}
function bemDirs(bemdeps) {
  const dirFilter = {};
  bemdeps.forEach((dep) => {
    const depPath = bemPath(dep);
    const depDir = path.dirname(depPath);
    dirFilter[depDir] = true;
  });

  return Object.keys(dirFilter);
}
function bemDirs ( bemdeps ) { const dirFilter = { } ; bemdeps . forEach ( ( dep ) => { const depPath = bemPath ( dep ) ; const depDir = path . dirname ( depPath ) ; dirFilter [ depDir ] = true ; } ) ; return Object . keys ( dirFilter ) ; }
Convert BemDeps to directory names

@param {Array} bemdeps
@return {Array}
Convert BemDeps to directory names