update the package.json for warn when executing npm install