From d6310a2bbfa2f9622765fb833053094c651c9953 Mon Sep 17 00:00:00 2001 From: Championrunner Date: Fri, 24 Apr 2020 14:58:06 +0530 Subject: [PATCH] docs(readme): Add install command for yarn (#645) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index da6120d4..f6d9219a 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,12 @@ should be installed as one of your project's `devDependencies`: ``` npm install --save-dev @testing-library/react ``` +or + +for installation via [yarn](https://classic.yarnpkg.com/en/) +``` +yarn add --dev @testing-library/react +``` This library has `peerDependencies` listings for `react` and `react-dom`.