Skip to content

Commit e2b0f09

Browse files
noahbenhamzkat
authored andcommittedAug 3, 2018
docs: Improved repository examples (#36)
PR-URL: #36 Credit: @noahbenham Reviewed-By: @zkat
1 parent 84bfd23 commit e2b0f09

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎doc/files/package.json.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -366,15 +366,15 @@ command will be able to find you.
366366

367367
Do it like this:
368368

369-
"repository" :
370-
{ "type" : "git"
371-
, "url" : "https://github.com/npm/cli.git"
372-
}
369+
"repository": {
370+
"type" : "git",
371+
"url" : "https://github.com/npm/cli.git"
372+
}
373373

374-
"repository" :
375-
{ "type" : "svn"
376-
, "url" : "https://v8.googlecode.com/svn/trunk/"
377-
}
374+
"repository": {
375+
"type" : "svn",
376+
"url" : "https://v8.googlecode.com/svn/trunk/"
377+
}
378378

379379
The URL should be a publicly available (perhaps read-only) url that can be handed
380380
directly to a VCS program without any modification. It should not be a url to an

0 commit comments

Comments
 (0)
Please sign in to comment.