yarn: add yd as yarn dev alias (#7663)

This commit is contained in:
14nrv 2019-10-01 22:24:00 +02:00 committed by Marc Cornellà
parent 77ad69e080
commit f32b30277d
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ plugins=(... yarn)
| yap | `yarn add --peer` | Install a package in peerDependencies (`package.json`) | | yap | `yarn add --peer` | Install a package in peerDependencies (`package.json`) |
| yb | `yarn build` | Run the build script defined in `package.json` | | yb | `yarn build` | Run the build script defined in `package.json` |
| ycc | `yarn cache clean` | Clean yarn's global cache of packages | | ycc | `yarn cache clean` | Clean yarn's global cache of packages |
| yd | `yarn dev` | Run the dev script defined in `package.json` |
| yga | `yarn global add` | Install packages globally on your operating system | | yga | `yarn global add` | Install packages globally on your operating system |
| ygls | `yarn global list` | Lists global installed packages | | ygls | `yarn global list` | Lists global installed packages |
| ygrm | `yarn global remove` | Remove global installed packages from your OS | | ygrm | `yarn global remove` | Remove global installed packages from your OS |

View file

@ -4,6 +4,7 @@ alias yad="yarn add --dev"
alias yap="yarn add --peer" alias yap="yarn add --peer"
alias yb="yarn build" alias yb="yarn build"
alias ycc="yarn cache clean" alias ycc="yarn cache clean"
alias yd="yarn dev"
alias yga="yarn global add" alias yga="yarn global add"
alias ygls="yarn global list" alias ygls="yarn global list"
alias ygrm="yarn global remove" alias ygrm="yarn global remove"