If you are working on a Node.js or using Grunt/Gulp/Bower you might hear the term code dependency or list of dependencies. What this means is your project depends on another code library or framework to function properly. So your project lists these dependencies inside your package.json file and if you use Bower in a bower.json file.

In the example below below I am using some Grunt packages in my project. When I install them I have the option of saving them as dev dependencies which essentially adds the name of the package to the package.json file. That way if anyone downloads my project from GitHub and does an npm install command it will download everything I used when I was developing the project.

Sort of like a list of ingredients for a recipe.

Example package.json file from my Bootstrap 3 Sass Starter – Sparky

 

Additional information on what a dependency is.

Term: Dependency

Bootstrap 4 Quick Start

Learn by building a CMS admin dashboard and marketing homepage step by step.

Shop Now

Written By: / Read Full Bio
Last updated on

Leave a comment