title: Git hook update package json version
body: <p>In our project we often forget to update version numbers in <code>Package.json</code> file. Ours is  a AngularJS project.  In our package JSON file we are specifying the below two version information</p>
  
  <pre><code>"version": "1.0.7",
  "devVersion": "1.0.4"
  </code></pre>
  
  <p><strong>Before Merging a branch to develop</strong> I want a automated script to update these above two version numbers.  I am thinking Git Hooks will help me. </p>
  
  <p>Where can i find the hooks, I am able to see the hooks in my local repo under <code>.git</code> folder.  I am confused which hook to use. Searching on Google suggests I have to create hooks on server. </p>
  
  <p>Where can i find them and can i update the above both keys (version and devVersion) ?</p>
  
  <p>Pls suggest the location and hook to use, this will solve a lot of problem. </p>