1.0.8 • Published 26 days ago

npm-recursive-install v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
26 days ago

npm-recursive-install

===

A small utility to recursively run npm install in any child directory that has a package.json file excluding sub directories of node_modules.

Installation


$ npm i npm-recursive-install --save-dev

Options

  • --production: Install dependencies with the --production option - skip dev dependencies.
  • --rootDir <directory>: Specify the root directory to start searching for package.json files.
  • --skipRoot: Skip installation for the root package.json.
  • --skip <directories>: Skip installation for specific directories.
  • --addDirectories <directories>: Add specific directories to install dependencies even they in the skip.

Usage

$ npm-recursive-install - will install dependencies recursively except from node_modules directories.

$ npm-recursive-install --skipRoot - Will not install in process.cwd().

$ npm-recursive-install --rootDir=lib - strat installing dependencies recuresively from the lib directory.

$ npm-recursive-install --production - Will not install dev dependencies

$ npm-recursive-install --skip dist build - Will skip installing dependencies from the dist and build folders

$ npm-recursive-install --skip dist build --add dist/test - Will skip installing dependencies from the dist and build folders but will install on dist/test folder.

License

MIT

1.0.8

26 days ago

1.0.7

28 days ago

1.0.6

28 days ago

1.0.5

28 days ago

1.0.4

28 days ago

1.0.3

28 days ago

1.0.2

28 days ago

1.0.1

28 days ago

1.0.0

30 days ago