Examine a package.json's dependencies and find all sub-depdendcies.