npm-update-all

1.0.1 • Public • Published

npm-update-all

Update all dependencies & devDependencies in package.json at once.

Global installation is recommended for cli usage.

Install (cli)

    $ npm install npm-update-all -g

CLI Usage

 
 //  Navigate to project root , where package.json is located & run.
 
   $ npm-update-all
 

Install (project)

    $ npm install npm-update-all -D

Usage

 
 // In your server.js/index.js , run following code.
 
var updateAll = require('npm-update-all');
var json = require('./package.json');
 
 
updateAll(json);
 

Package Sidebar

Install

npm i npm-update-all

Weekly Downloads

2,661

Version

1.0.1

License

MIT

Last publish

Collaborators

  • savanakbari