Commit b09aed9c authored by 14nrv's avatar 14nrv Committed by Marc Cornellà
Browse files

yarn: add ytc alias for test with coverage (#7664)

parent c714d3fc
...@@ -35,6 +35,7 @@ plugins=(... yarn) ...@@ -35,6 +35,7 @@ plugins=(... yarn)
| ys | `yarn serve` | Start the dev server | | ys | `yarn serve` | Start the dev server |
| yst | `yarn start` | Run the start script defined in `package.json` | | yst | `yarn start` | Run the start script defined in `package.json` |
| yt | `yarn test` | Run the test script defined in `package.json` | | yt | `yarn test` | Run the test script defined in `package.json` |
| ytc | `yarn test --coverage` | Run the test script defined in `package.json` with coverage |
| yuc | `yarn global upgrade && yarn cache clean` | Upgrade global packages and clean yarn's global cache | | yuc | `yarn global upgrade && yarn cache clean` | Upgrade global packages and clean yarn's global cache |
| yui | `yarn upgrade-interactive` | Prompt for which outdated packages to upgrade | | yui | `yarn upgrade-interactive` | Prompt for which outdated packages to upgrade |
| yup | `yarn upgrade` | Upgrade packages to their latest version | | yup | `yarn upgrade` | Upgrade packages to their latest version |
......
...@@ -20,6 +20,7 @@ alias yrun="yarn run" ...@@ -20,6 +20,7 @@ alias yrun="yarn run"
alias ys="yarn serve" alias ys="yarn serve"
alias yst="yarn start" alias yst="yarn start"
alias yt="yarn test" alias yt="yarn test"
alias ytc="yarn test --coverage"
alias yuc="yarn global upgrade && yarn cache clean" alias yuc="yarn global upgrade && yarn cache clean"
alias yui="yarn upgrade-interactive" alias yui="yarn upgrade-interactive"
alias yup="yarn upgrade" alias yup="yarn upgrade"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment