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/files
diff options
context:
space:
mode:
authorKenan Yildirim <kenan@kenany.me>2014-08-13 21:35:36 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-08-22 03:20:33 +0400
commite4e1223a91c37688ba3378e1fc9d5ae045654d00 (patch)
treea5e8a56d8362d2bc6b04a3989b85f22fe67c7c2f /doc/files
parentf2587be7d1da2ace5cb0d80bdaa38ffb4db86d88 (diff)
Document the use of a tag as a range specifier in dependencies
Closes #5855 Closes #5936
Diffstat (limited to 'doc/files')
-rw-r--r--doc/files/package.json.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/files/package.json.md b/doc/files/package.json.md
index b9b05d4d4..af10cc962 100644
--- a/doc/files/package.json.md
+++ b/doc/files/package.json.md
@@ -320,6 +320,7 @@ See semver(7) for more details about specifying version ranges.
* `range1 || range2` Passes if either range1 or range2 are satisfied.
* `git...` See 'Git URLs as Dependencies' below
* `user/repo` See 'GitHub URLs' below
+* `tag` A specific version tagged and published as `tag` See `npm-tag(1)`
For example, these are all valid:
@@ -334,6 +335,7 @@ For example, these are all valid:
, "elf" : "~1.2.3"
, "two" : "2.x"
, "thr" : "3.3.x"
+ , "lat" : "latest"
}
}