Skip to content

Commit

Permalink
feat: add shorthand conc (#358)
Browse files Browse the repository at this point in the history
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
  • Loading branch information
kecrily and paescuj committed Aug 22, 2022
1 parent 71e1c56 commit e469c04
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -57,6 +57,9 @@ npm install concurrently --save

## Usage

> **Note**
> The `concurrently` command is now also available under the shorthand alias `conc`.
Remember to surround separate commands with quotes:

```bash
Expand Down Expand Up @@ -149,8 +152,8 @@ General
template.
Example names: "main,browser,server" [string]
--name-separator The character to split <names> on. Example usage:
concurrently -n "styles|scripts|server"
--name-separator "|" [default: ","]
-n "styles|scripts|server" --name-separator "|"
[default: ","]
-s, --success Which command(s) must exit with code 0 in order
for concurrently exit with code 0 too. Options
are:
Expand Down
2 changes: 1 addition & 1 deletion bin/concurrently.ts
Expand Up @@ -43,7 +43,7 @@ const args = yargs(argsBeforeSep)
'name-separator': {
describe:
'The character to split <names> on. Example usage:\n' +
'concurrently -n "styles|scripts|server" --name-separator "|"',
'-n "styles|scripts|server" --name-separator "|"',
default: defaults.nameSeparator,
},
success: {
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -6,7 +6,8 @@
"types": "dist/src/index.d.ts",
"type": "commonjs",
"bin": {
"concurrently": "./dist/bin/concurrently.js"
"concurrently": "./dist/bin/concurrently.js",
"conc": "./dist/bin/concurrently.js"
},
"engines": {
"node": "^12.20.0 || ^14.13.0 || >=16.0.0"
Expand Down

0 comments on commit e469c04

Please sign in to comment.