package-lock,.json required in git repo?

Is the package-lock.json really required to be in the git repository or should it rather be added to .gitignore ?