how to add dependency in package.json code example
Example: add dependencies to package.json
npm install <package-name> --save # Installs the package and add dependency in package.json
npm install # Installs dependencies listed in package.json
npm install <package-name> --save # Installs the package and add dependency in package.json
npm install # Installs dependencies listed in package.json