1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 01:57:55 +01:00

Add npm install --save-dev 🐖

Am I the only one who always forgets if it's --saveDev or --save-dev? My suggestions add --save-dev too. 💩
This commit is contained in:
Livio Bieri 2016-05-04 10:46:42 +02:00
parent ebeed606d9
commit 9dc3893c59

View file

@ -11,10 +11,14 @@
`npm install`
- Download a given dependency, and add it to the package.json:
- Download a given dependency, and add it to the package.json (as `dependencies`):
`npm install {{module_name}}@{{version}} --save`
- Download a given dependency, and add it to the package.json (as `devDependencies`):
`npm install {{module_name}}@{{version}} --save-dev`
- Uninstall a module:
`npm uninstall {{module_name}}`