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:
authorFelicio Mununga <felicio@users.noreply.github.com>2017-10-19 04:41:26 +0300
committerKat Marchán <kzm@sykosomatic.org>2017-10-19 04:41:26 +0300
commit5dfc3ab7bc2cb0fa7d9a8c00aa95fecdd14d7ae1 (patch)
treeabe10935299b95d660c4aa8fc436157d323ac239 /doc
parent7ae12b21cc841f76417d3bb13b74f177319d4deb (diff)
docs: reference github shorthand in package.json.md (#18742)
Explicitly states 'github' as a valid shorthand option of repository reference. PR-URL: https://github.com/npm/npm/pull/18742 Credit: @felicio Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r--doc/files/package.json.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/files/package.json.md b/doc/files/package.json.md
index 071d23a41..da73d52b4 100644
--- a/doc/files/package.json.md
+++ b/doc/files/package.json.md
@@ -373,11 +373,13 @@ shortcut syntax you use for `npm install`:
"repository": "npm/npm"
+ "repository": "github:user/repo"
+
"repository": "gist:11081aaa281"
- "repository": "bitbucket:example/repo"
+ "repository": "bitbucket:user/repo"
- "repository": "gitlab:another/repo"
+ "repository": "gitlab:user/repo"
## scripts