-1

Now there are lots of info of the difference. it's cuz of specifying of version.

But here is the question. why don't we just put everything into the package.json? There is vague explanation about that but it doesn't satify my wonder. I still can't figure out the reason. If you know, plz share that knowledge. Thank you in advance!

Costar
  • 1
  • 2
  • Does this answer your question? [What is the role of the package-lock.json?](https://stackoverflow.com/questions/44297803/what-is-the-role-of-the-package-lock-json) – SuperStormer May 30 '22 at 01:45
  • Also [Do I need both package-lock.json and package.json?](https://stackoverflow.com/q/45052520) – SuperStormer May 30 '22 at 01:45

0 Answers0