Motivation and justification: #3361 (comment)
We can either do this in package.json (which makes intentional dependencies a bit of a hassle), or add package-lock.json to source control if we can make Netlify run npm ci (which looks a bit of a hack):
https://answers.netlify.com/t/how-can-i-use-npm-ci-instead-of-npm-install/12570/14
Motivation and justification: #3361 (comment)
We can either do this in
package.json(which makes intentional dependencies a bit of a hassle), or addpackage-lock.jsonto source control if we can make Netlify runnpm ci(which looks a bit of a hack):https://answers.netlify.com/t/how-can-i-use-npm-ci-instead-of-npm-install/12570/14