NPM package-lock.json formatting follows package.json
TIL:
When npm creates or updates
package-lock.json
, it will infer line endings and indentation frompackage.json
so that the formatting of both files matches.
From: NPM Docs
TIL:
When npm creates or updates
package-lock.json
, it will infer line endings and indentation frompackage.json
so that the formatting of both files matches.
From: NPM Docs