update lib index.js generator to consider sub dirs and internal
update lib index.js generator to consider sub dirs and internal

phovea/generator-phovea,phovea/generator-phovea,phovea/generator-phovea,phovea/generator-phovea,phovea/generator-phovea