npm.io
1.0.1 • Published 9 years agoCLI

npm-update-all

Licence
MIT
Version
1.0.1
Deps
4
Vulns
0
Weekly
0

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);

Keywords