The package-lock.json is solely used to lock dependencies to a specific version number. So that when teammates clone your work their dependency versions are the same as yours, or vice versa.