mirror of https://github.com/CrimsonTome/tldr.git
Update npm.md
parent
9dc3893c59
commit
9f182ee686
|
@ -11,11 +11,11 @@
|
||||||
|
|
||||||
`npm install`
|
`npm install`
|
||||||
|
|
||||||
- Download a given dependency, and add it to the package.json (as `dependencies`):
|
- Download a given dependency required for the application to run, and add it to the package.json:
|
||||||
|
|
||||||
`npm install {{module_name}}@{{version}} --save`
|
`npm install {{module_name}}@{{version}} --save`
|
||||||
|
|
||||||
- Download a given dependency, and add it to the package.json (as `devDependencies`):
|
- Download a given dependency for development purposes, and add it to the package.json:
|
||||||
|
|
||||||
`npm install {{module_name}}@{{version}} --save-dev`
|
`npm install {{module_name}}@{{version}} --save-dev`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue