Dev Dependency - CI/CD Glossary Definition
A dev dependency is a package needed only to build or test the project, not to run it, declared in devDependencies. Test frameworks, linters, and bundlers are typical examples.
In CI
CI installs dev dependencies to run tests, but production images should omit them (npm ci --omit=dev) to shrink the artifact and reduce attack surface.
Related guides
Runtime Dependency - CI/CD Glossary DefinitionRuntime Dependency: A runtime dependency is a package the application needs to execute in production, not jus…
Optional Dependency - CI/CD Glossary DefinitionOptional Dependency: An optional dependency is a package whose installation failure does not fail the overall…
Peer Dependency - CI/CD Glossary DefinitionPeer Dependency: A peer dependency is a package that a library expects its host project to provide rather tha…