title: NPM Dependency upgrade management
body: <p>we wanted to keep two version of package.json</p>
  
  <ol>
  <li><p>Package.json that has the exact version number This version we will use for my upcoming release, primarily to avoid any breaking change in the external code.</p></li>
  <li><p>The second version of package.json we wanted to use the latest versions of all dependencies. We would use a separate nightly build to keep using this version of package.json to run all test. This help us plan our upgrades on dependencies, for the next release. </p></li>
  </ol>
  
  <p>we can't have 2 files with same name in a folder so we name one of them package.json.star and the nightly job renames it to package.json and uses it to run the tests on the latest versions of dependencies. </p>
  
  <p>Is there a better way to do this. Ideally we would not want the nightly job to delete and rename files. Is there a way to specify something like "npm install --file package2.json" to tell npm install to use a specific file instead of the default package.json. </p>