What is the difference between dependencies and devDependencies?

Question

In this lesson, we learned about dependencies and devDependencies for a project. What is the difference between them?

Answer

dependencies are modules that are required at runtime, or when the application is running. Some examples of modules that are required during runtime would be jQuery, Angular, and React.

devDependencies are modules that are required during development, not as the application is running. These include compilers, unit testing modules, transpilations, and include modules such as mocha or gulp-jade.