title: How to add dependency to package.json later
body: <p>In my application I have installed few node modules using below command</p>
  
  <pre><code> npm install &lt;modulename&gt;
  </code></pre>
  
  <p>I forgot to mention "--save" to save the dependency list to package.json file.</p>
  
  <p>Now I would like to update those dependencies in package.json file without updating the file manually  . Any idea how it can be done ?</p>