Merge add and add-dev and remove ls

This commit is contained in:
vkolmakov
2016-10-16 18:46:48 -05:00
parent 81a9c4fedd
commit 165e1ded0b

View File

@@ -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`