Skip to content
Permalink
Browse files
docs: Improved repository examples (#36)
PR-URL: #36
Credit: @noahbenham
Reviewed-By: @zkat
  • Loading branch information
noahbenham authored and zkat committed Aug 3, 2018
1 parent 84bfd23 commit e2b0f092193c08c00f12a6168ad2bd9d6e16f8ce
Showing with 8 additions and 8 deletions.
  1. +8 −8 doc/files/package.json.md
@@ -366,15 +366,15 @@ command will be able to find you.

Do it like this:

"repository" :
{ "type" : "git"
, "url" : "https://github.com/npm/cli.git"
}
"repository": {
"type" : "git",
"url" : "https://github.com/npm/cli.git"
}

"repository" :
{ "type" : "svn"
, "url" : "https://v8.googlecode.com/svn/trunk/"
}
"repository": {
"type" : "svn",
"url" : "https://v8.googlecode.com/svn/trunk/"
}

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

0 comments on commit e2b0f09

Please sign in to comment.