Install It All

Run npm install in many projects at once, with one command.

Very useful for npm organizations.

Installation:

$ npm install -g @digital-springboard/install-it-all

Usage

install-it-all will look for a manifest.json file, either in/at the path provided, or in the current directory if no path is provided.

Example (look in current directory for manifest.json )

$ install-it-all

Example (use provided path)

The argument to IIA is either the path to manifest.json , or to a directory containing manifest.json .

$ install-it-all ~ /cool-projects/

Or you could do:

$ install-it-all ~ /cool-projects/manifest.json

Options

Usage: install-it-all [path/to/project/manifest.json] Options: -v --version output the version number --no-update Prevent updating the dependencies ( respects semver string ) --no-dev Prevent updating / installing dev dependencies --only-dev Only update / install dev dependencies -h, --help output usage information

manifest.json Structure

{ " projects " : [ { " name " : " warp-drive " , / / o p t i o n a l ; a u t o - d i s c o v e r e d i f a b s e n t " description " : " It's fast. " , / / o p t i o n a l ; a u t o - d i s c o v e r e d i f a b s e n t " path " : " ../warp-drive/ " / / r e q u i r e d ; c a n b e a b s o l u t e o r r e l a t i v e t o m a n i f e s t . j s o n } , { " path " : " ../shrink-ray/ " / / r e q u i r e d ; c a n b e a b s o l u t e o r r e l a t i v e t o m a n i f e s t . j s o n } ] }

License [MIT]