https://github.com/guidsdo/nisd
Npm Install in SubDirectories. Yes, it's that simple. Use it like: `nisd [subdirs...]` (Example: `nisd client server scripts`)
https://github.com/guidsdo/nisd
Last synced: about 1 year ago
JSON representation
Npm Install in SubDirectories. Yes, it's that simple. Use it like: `nisd [subdirs...]` (Example: `nisd client server scripts`)
- Host: GitHub
- URL: https://github.com/guidsdo/nisd
- Owner: guidsdo
- License: apache-2.0
- Created: 2017-08-26T23:01:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T13:27:22.000Z (over 7 years ago)
- Last Synced: 2024-12-26T09:28:43.112Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Npm Install in SubDirectories
Npm Install in SubDirectories. Yes, it's that simple. Use it like: `nisd [options] ` (Example: `nisd --async client server scripts`)
[Click here for the general version!](https://www.npmjs.com/package/eisd)
[Click here for the yarn install version!](https://www.npmjs.com/package/yisd)
## Usage
```
Usage: nisd [options]
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:
```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. :-)