https://github.com/jwplayer/npm-run-ws
https://github.com/jwplayer/npm-run-ws
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jwplayer/npm-run-ws
- Owner: jwplayer
- License: mit
- Created: 2022-02-02T20:47:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-11T04:09:07.000Z (over 4 years ago)
- Last Synced: 2025-02-15T20:48:54.061Z (over 1 year ago)
- Language: JavaScript
- Size: 2.71 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [@jwplayer/npm-run-ws](#jwplayernpm-run-ws)
- [Installation](#installation)
- [--help](#--help)
# @jwplayer/npm-run-ws
Run npm workspace scripts with extra features like serial, parallel, and root project runs.
After instalation an `npm-run-ws` binary will be added to our local node modules bin directory for running.
## Installation
To install run
```
npm i --save-dev @jwplayer/npm-run-ws
```
## --help
```
Usage: @jwplayer/npm-run-ws [--if-present|--include-root]
Run npm workspace scripts with extra features like serial, parallel, and root project runs.
-v, --version Print the version of @jwplayer/npm-run-ws.
-V, --verbose Print the output of everything after completion.
--stream stream the output to stdout.
-ip, --if-present Only run the npm script if present on the workspace.
-s, --serial Run the npm workspace script serially.
-q, --quiet Do not print anything when commands are being run.
-si, --simple simple command output.
-ir, --include-root Run the script on the root workspace as well.
--include-workspace-root Alias for --include-root used by npm.
-i, --include[=name,name] Run on workspaces that match this. Can pass more than one.
-e, --exclude[=name,name] Run on workspaces that do not match this. Can pass more than one
-d, --directory [dir] Run in this project directory, defaults to cwd.
--ignore-scripts Ignore lifecycle scripts in parity with npm.
--list-workspaces list workspaces, separated by newlines, with relative directory.
--dry-run Show the ui and commands of what would have been run, without running.
```