This is doable with some languages but the issue with Javascript is that your dependency graph usually ends up containing 100+ packages.