prune unneeded project depedencies