nisd

1.2.0 • Public • Published

Npm Install in SubDirectories

Npm Install in SubDirectories. Yes, it's that simple. Use it like: nisd [options] <directories...> (Example: nisd --async client server scripts)

Click here for the general version!

Click here for the yarn install version!

Usage

  Usage: nisd [options] <directories...>

  Options:
    -a, --async        Execute npm async across all folders, output will be a mess
    -e, --allowErrors  Allow errors (at default we stop when there is one). NOTE: always true when in async mode!
    -h, --help         output usage information

Examples

Cli: nisd --async client server testSetup/mockServer

Package.json:

{
  "name": "Root",
  "version": "0.0.1",
  "description": "mainFolder",
  "scripts": {
    "postinstall": "nisd client server"
  }
}

Compatibility

All npm errors are ignored because they are structured really randomly. If you want a build to fail on install errors, use the yarn version instead. Works on Linux, Mac and Windows. If not, create an issue and I will fix it. :-)

Package Sidebar

Install

npm i nisd

Weekly Downloads

116

Version

1.2.0

License

Apache-2.0

Unpacked Size

14.1 kB

Total Files

8

Last publish

Collaborators

  • guidojo