run npm install if there is a package.json file