re: Stop tracking and start ignoring VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You should not ignore package.json, it is a key file shared between all the developers defining package dependencies. You should ignore build artef...
 

It's worth mentioning that both package.json and package-lock.json should be included in the repo. The first allows to install dependencies fresh, and the second one is necessary for the npm ci command, indispensable for any continuous integration setup. I've seen people who kept package.json but ignored the lockfile, and it did cause me problems a few times...

code of conduct - report abuse