Node.js 8 🟢 Understanding package.json, package-lock.json, and workspaces
Every Node.js project has a package.json file. It is the project’s manifest, describing what the project is, what it depends on, and how to run its scripts. Alongside it sits package-lock.json, a file that records the exact versions of every dependency in the tree so that installs are reproducible. When a repository contains multiple related…