replace glob by resolve-dep

update documentation