Tooling concepts
Separate runtime and development dependencies
Runtime dependencies provide code required when a package runs; development dependencies support building, testing or authoring. npm resolves both according to the manifest and lockfile. Build before pruning development tooling. Do not move required runtime modules into devDependencies to shrink installs. Example type: bash. Context: npm-lab. Expected observation: The manifest includes @lesson/units.. See local fixture evidence.
Formal Syntax & Structure
javascript syntaxjavascript
npm pkg get dependenciesWorking Example
Example Snippetjavascript
npm pkg get dependencies