This commit is contained in:
Tben 2023-08-17 17:55:32 +01:00
parent db02fa5f29
commit 95cba870d4
2 changed files with 8 additions and 8 deletions

View File

@ -7,19 +7,19 @@ Do you run an application that needs multiple processes? Like `npm run dev` and
You can install and run this package directly by running: You can install and run this package directly by running:
```bash ```bash
npx batch-run "npm run dev, npm run tailwind" npx batchrun "npm run dev, npm run tailwind"
``` ```
To install this module globally simply run: To install this module globally simply run:
```bash ```bash
npm install -g batch-run npm install -g batchrun
``` ```
To install this module locally(for just the project) run: To install this module locally(for just the project) run:
```bash ```bash
npm install batch-run npm install batchrun
``` ```
_NOTE_: You will have to append `npx` to your command for just a local installation. _NOTE_: You will have to append `npx` to your command for just a local installation.
@ -39,19 +39,19 @@ More entries mean more processes.
To fire up the process without a `batchrun.config.json` file simply run: To fire up the process without a `batchrun.config.json` file simply run:
```bash ```bash
batch-run "npm run dev, npm run tailwind" batchrun "npm run dev, npm run tailwind"
``` ```
If you did not install the package globally, run: If you did not install the package globally, run:
```bash ```bash
npx batch-run "npm run dev, npm run tailwind" npx batchrun "npm run dev, npm run tailwind"
``` ```
If you already have a `batchrun.config.json` file just run If you already have a `batchrun.config.json` file just run
```bash ```bash
batch-run batchrun
``` ```
# Process actions # Process actions

View File

@ -1,6 +1,6 @@
{ {
"name": "batch-run", "name": "batchrun",
"version": "1.0.4", "version": "1.0.5",
"description": "Run and manage multiple processes concurrently in one terminal", "description": "Run and manage multiple processes concurrently in one terminal",
"main": "index.js", "main": "index.js",
"bin": { "bin": {