Skip to content

Commit

Permalink
docs: Improved repository examples (#36)
Browse files Browse the repository at this point in the history
PR-URL: #36
Credit: @noahbenham
Reviewed-By: @zkat
  • Loading branch information
noahbenham authored and zkat committed Aug 3, 2018
1 parent 84bfd23 commit e2b0f09
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/files/package.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2b0f09

Please sign in to comment.