What are Dependencies?
Introduction to project dependencies, devDependencies, and peerDependencies.
The end goal of writing a library is having an application consume our code. In other words, our library would become a dependency of a project. In the same way as projects can depend on our library, our library can also have its own dependencies.
There are three types of dependencies:
Dependencies we rely on (dependencies)
Dependencies we only need for development (devDependencies)
Dependencies we expect our users to provide (peerDependencies)