title: Should changes in a package.json file be commited to a repository as well?
body: <p>I am not sure that if it is correct to commit and push the changes in the package.JSON file into a repository. as far as I understood, the others in the git can install new dependencies by executing this command: npm install and accordingly, their package.JSON will be updated too.OR, this files actually says what are the new dependencies and needs to be pushed as well.
  It would be great if some could clarify me. :)</p>