Quantcast
Channel: What's the difference between dependencies, devDependencies, and peerDependencies in NPM package.json file? - Stack Overflow
Viewing all articles
Browse latest Browse all 39

Answer by Sîrbu Nicolae-Cezar for What's the difference between dependencies, devDependencies, and peerDependencies in NPM package.json file?

$
0
0

I'd like to add to the answer my view on these dependencies explanations

  • dependencies are used for direct usage in your codebase, things that usually end up in the production code, or chunks of code
  • devDependencies are used for the build process, tools that help you manage how the end code will end up, third party test modules, (ex. webpack stuff)

Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>