only install packages if package.json exists