Shortcut for running npm and bower install/update/prune calls.
The script will check for package.json and bower.json before running install/update/prune calls.
The script will recursively search for the location of bower.json in order to handle special "client" folders.
npm i -g updatejs
-h, --help output usage information
-V, --version output the version number
-n, --npm Perform *only* npm calls
-b, --bower Perform *only* bower calls
-i, --install Perform *only* install calls
-u, --update Perform *only* update calls
-p, --prune Perform *only* prune calls
-r, --recursive Perform calls recursively in all subfolders
WARNING: The more projects you have, the longer it will take.
-P, --parallel Perform npm and bower calls in parallel, not consecutively
WARNING: The output will happen in real time, all mixed up.
-f, --buffered Buffered output for the parallel execution
WARNING: The output will happen only at the end:
- once for all npm calls, and once for all bower calls.
<no params> Same as using -nbiup:
Performs all npm and bower install/update/prune calls
> update
For npm, currently in: C:\GIT\yourproject
Running npm install...
- npm install done.
Running npm update...
- npm update done.
Running npm prune...
- npm prune done.
For bower, currently in: C:\GIT\yourproject
Running bower install...
- bower install done.
Running bower update...
- bower update done.
Running bower prune...
- bower prune done.
Done.
> update -i
For npm, currently in: C:\GIT\yourproject
Running npm install...
- npm install done.
For bower, currently in: C:\GIT\yourproject
Running bower install...
- bower install done.
Done.
> update -ni
For npm, currently in: C:\GIT\yourproject
Running npm install...
- npm install done.
Done.