diff options
Diffstat (limited to 'deps/npm/html/partial/doc/files/package.json.html')
-rw-r--r-- | deps/npm/html/partial/doc/files/package.json.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/deps/npm/html/partial/doc/files/package.json.html b/deps/npm/html/partial/doc/files/package.json.html index 4d5937d4da..ac4bfbc980 100644 --- a/deps/npm/html/partial/doc/files/package.json.html +++ b/deps/npm/html/partial/doc/files/package.json.html @@ -185,9 +185,15 @@ command will be able to find you.</p> </code></pre><p>The URL should be a publicly available (perhaps read-only) url that can be handed 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.</p> -<p>For GitHub repositories you can use the same shortcut syntax you use for <code>npm -install</code>:</p> +<p>For GitHub, GitHub gist, Bitbucket, or GitLab repositories you can use the same +shortcut syntax you use for <code>npm install</code>:</p> <pre><code>"repository": "npm/npm" + +"repository": "gist:11081aaa281" + +"repository": "bitbucket:example/repo" + +"repository": "gitlab:another/repo" </code></pre><h2 id="scripts">scripts</h2> <p>The "scripts" property is a dictionary containing script commands that are run at various times in the lifecycle of your package. The key is the lifecycle |