Javascript Package - Dev Dependency


A dev dependency is a build and test dependency.


  • are not needed in the dependency graph (bundler, test harnesses or transpilers)
  • will not be downloaded when an other package uses your package as a dependency.



This command will modify the devependency properties of package.json

cd DirectoryOfPackage.Json
# then
yarn add [package] --dev
# or
npm install packageName --save-dev

Discover More
Javascript Package - Dependency

package Dependency in Node. Dependency are declared/added in package.json: with a package manager or manually - dependency in the code used to build the dependency graph. - build and test...
Javascript Package - Package.json

Package.json is used by npm to store metadata for projects published as package. The package.json files: * serves as documentation for what packages your project depends on. * allows you to specify...
Typescript - Webpack

Install the TypeScript compiler and loader as Dev Dependency
Web - Build Operations / Build Pipeline

This page is the build operation for the web. A build pipeline will: transform (compile) bundle and optimize web code html, css (less, ...) Javascript (Javascript Module, React Jsx,...

Share this page:
Follow us:
Task Runner