From 5f01aa4f603f4b313f14d126bf1a53dd37f1fdec Mon Sep 17 00:00:00 2001 From: Josh Price Date: Mon, 22 Jan 2018 15:06:00 +1100 Subject: [PATCH] Add yarn build, yarn start and yarn test aliases Typically used for https://github.com/facebookincubator/create-react-app ```json "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", ``` --- plugins/yarn/yarn.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/yarn/yarn.plugin.zsh b/plugins/yarn/yarn.plugin.zsh index 5fa512377..9114a17cd 100644 --- a/plugins/yarn/yarn.plugin.zsh +++ b/plugins/yarn/yarn.plugin.zsh @@ -2,9 +2,12 @@ alias y="yarn " alias ya="yarn add" +alias yb="yarn build" alias ycc="yarn cache clean" alias yh="yarn help" alias yo="yarn outdated" +alias ys="yarn start" +alias yt="yarn test" alias yui="yarn upgrade-interactive" _yarn ()