only npm install if package.json is present