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:
authorMarcin Wosinek <marcin.wosinek@gmail.com>2015-02-05 12:41:55 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-02-13 04:32:47 +0300
commitc61aff370dd57d07408c3ad4ec964bc16db6dfbc (patch)
tree6cac95cecc285c627377a865622e83cf16204a96 /doc/files
parentd53f30ec53806dc959c0ba21a5afa034e368b365 (diff)
docs: GH shortcut works for repo in package.json
Diffstat (limited to 'doc/files')
-rw-r--r--doc/files/package.json.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/files/package.json.md b/doc/files/package.json.md
index 933c23a64..683425ec2 100644
--- a/doc/files/package.json.md
+++ b/doc/files/package.json.md
@@ -272,6 +272,11 @@ The URL should be a publicly available (perhaps read-only) url that can be hande
directly to a VCS program without any modification. It should not be a url to an
html project page that you put in your browser. It's for computers.
+For GitHub repositories you can use the same shortcut syntax you use for `npm
+install`:
+
+ "repository": "npm/npm"
+
## scripts
The "scripts" property is a dictionary containing script commands that are run