Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Creasy <ben@bencreasy.com>2018-03-08 11:36:15 +0300
committerKat Marchán <kzm@sykosomatic.org>2018-03-09 01:20:42 +0300
commitde72d9a18ae650ebaee0fdd6694fc89b1cbe8e95 (patch)
tree1f5d4ca1c4487fb9e05e8f2f5c4695d5ee3735cc /doc
parentb9d0c0c0173542a8d741a9a17b9fb34fbaf5068e (diff)
docs: sync package-lock spec and help page (#19307)
PR-URL: https://github.com/npm/npm/pull/19307 Credit: @jcrben Reviewed-By: @zkat
Diffstat (limited to 'doc')
-rw-r--r--doc/files/package-lock.json.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/files/package-lock.json.md b/doc/files/package-lock.json.md
index 6eac6bf10..1b4ba9349 100644
--- a/doc/files/package-lock.json.md
+++ b/doc/files/package-lock.json.md
@@ -120,6 +120,15 @@ transitive dependency of a non-optional dependency of the top level.
All optional dependencies should be included even if they're uninstallable
on the current platform.
+
+#### requires
+
+This is a mapping of module name to version. This is a list of everything
+this module requires, regardless of where it will be installed. The version
+should match via normal matching rules a dependency either in our
+`dependencies` or in a level higher than us.
+
+
#### dependencies
The dependencies of this dependency, exactly as at the top level.