24 lines
606 B
Plaintext
24 lines
606 B
Plaintext
|
#!/bin/bash
|
||
|
if command -v yarn >/dev/null 2>&1; then
|
||
|
|
||
|
alias ycc="yarn cache clean"
|
||
|
alias yr="yarn run"
|
||
|
alias ys="yarn run start"
|
||
|
alias ya="yarn add"
|
||
|
# alias yu="yarn upgrade"
|
||
|
alias yrm="yarn remove"
|
||
|
alias yao="yarn add --optional"
|
||
|
alias yad="yarn add --dev"
|
||
|
alias yl="yarn list --depth=0"
|
||
|
alias ylp="yarn list --depth=0 --pattern"
|
||
|
alias yu="yarn upgrade-interactive"
|
||
|
|
||
|
alias ylg="yarn global list --depth=0"
|
||
|
alias ylgp="yarn global list --depth=0 --pattern"
|
||
|
alias yag="yarn global add"
|
||
|
alias yrg="yarn global remove"
|
||
|
alias yug="yarn global upgrade-interactive"
|
||
|
|
||
|
alias ypub="yarn publish --access public"
|
||
|
|
||
|
fi
|