Skip to content

Commit e469c04

Browse files
kecrilypaescuj
andauthored
feat: add shorthand conc (#358)
Co-authored-by: Pascal Jufer <[email protected]>
1 parent 71e1c56 commit e469c04

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ npm install concurrently --save
5757

5858
## Usage
5959

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

6265
```bash
@@ -149,8 +152,8 @@ General
149152
template.
150153
Example names: "main,browser,server" [string]
151154
--name-separator The character to split <names> on. Example usage:
152-
concurrently -n "styles|scripts|server"
153-
--name-separator "|" [default: ","]
155+
-n "styles|scripts|server" --name-separator "|"
156+
[default: ","]
154157
-s, --success Which command(s) must exit with code 0 in order
155158
for concurrently exit with code 0 too. Options
156159
are:

bin/concurrently.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const args = yargs(argsBeforeSep)
4343
'name-separator': {
4444
describe:
4545
'The character to split <names> on. Example usage:\n' +
46-
'concurrently -n "styles|scripts|server" --name-separator "|"',
46+
'-n "styles|scripts|server" --name-separator "|"',
4747
default: defaults.nameSeparator,
4848
},
4949
success: {

package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"types": "dist/src/index.d.ts",
77
"type": "commonjs",
88
"bin": {
9-
"concurrently": "./dist/bin/concurrently.js"
9+
"concurrently": "./dist/bin/concurrently.js",
10+
"conc": "./dist/bin/concurrently.js"
1011
},
1112
"engines": {
1213
"node": "^12.20.0 || ^14.13.0 || >=16.0.0"

0 commit comments

Comments
 (0)