In short
Dependencies -
npm install <package> --save-prod
installs packages required by your application in production environment.DevDependencies -
npm install <package> --save-dev
installs packages required only for local development and testingJust typing
npm install
installs all packages mentioned in thepackage.json
so if you are working on your local computer just type npm install
and continue :)