From 165e1ded0b52407da328c45b140b24dd34681607 Mon Sep 17 00:00:00 2001 From: vkolmakov Date: Sun, 16 Oct 2016 18:46:48 -0500 Subject: [PATCH] Merge add and add-dev and remove ls --- pages/common/yarn.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pages/common/yarn.md b/pages/common/yarn.md index 0cdcef239..6f73a699c 100644 --- a/pages/common/yarn.md +++ b/pages/common/yarn.md @@ -10,22 +10,14 @@ `yarn` -- Install a module and save it as a dependency to the package.json: +- Install a module and save it as a dependency to the package.json. Add --dev to save as a dev dependency: `yarn add {{module_name}}@{{version}}` -- Install a module and save it as a dev dependency to the package.json: - -`yarn add {{module_name}}@{{version}} --dev` - - Uninstall a module and remove it from the package.json: `yarn remove {{module_name}}` -- List a tree of installed modules: - -`yarn ls` - - Interactively create a package.json file: `yarn init`