diff options
author | Felicio Mununga <felicio@users.noreply.github.com> | 2017-10-19 04:41:26 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2017-10-19 04:41:26 +0300 |
commit | 5dfc3ab7bc2cb0fa7d9a8c00aa95fecdd14d7ae1 (patch) | |
tree | abe10935299b95d660c4aa8fc436157d323ac239 /doc | |
parent | 7ae12b21cc841f76417d3bb13b74f177319d4deb (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.md | 6 |
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 |