Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Jan 14, 2025
1 parent fdc6ca9 commit aacda4d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/lib/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The URL to the project homepage.
Example:

```json
"homepage": "/~https://github.com/npm/semver#readme"
"homepage": "/~https://github.com/npm/example#readme"
```

### bugs
Expand All @@ -94,8 +94,8 @@ It should look like this:
```json
{
"bugs": {
"url": "/~https://github.com/npm/semver/issues",
"email": "team@npmjs.com"
"url": "/~https://github.com/npm/example/issues",
"email": "example@npmjs.com"
}
}
```
Expand Down Expand Up @@ -259,7 +259,7 @@ string URL, or an array of objects and string URLs:
"type" : "individual",
"url" : "http://npmjs.com/donate"
},
"http://npmjs.com/donateAlso",
"http://npmjs.com/donate-also",
{
"type" : "patreon",
"url" : "https://www.patreon.com/user"
Expand Down Expand Up @@ -539,9 +539,9 @@ same shortcut syntax you use for `npm install`:

```json
{
"repository": "npm/semver",
"repository": "npm/example",

"repository": "github:npm/semver",
"repository": "github:npm/example",

"repository": "gist:11081aaa281",

Expand Down Expand Up @@ -635,7 +635,7 @@ For example, these are all valid:
"baz": ">1.0.2 <=2.3.4",
"boo": "2.0.1",
"qux": "<1.0.0 || >=2.3.1 <2.4.5 || >=2.5.2 <3.0.0",
"asd": "http://npmjs.com/asdf.tar.gz",
"asd": "http://npmjs.com/example.tar.gz",
"til": "~1.2",
"elf": "~1.2.3",
"two": "2.x",
Expand Down Expand Up @@ -714,7 +714,7 @@ included. For example:
"dependencies": {
"express": "expressjs/express",
"mocha": "mochajs/mocha#4727d357ea",
"module": "npm/repo#feature\/branch"
"module": "npm/example-github-repo#feature\/branch"
}
}
```
Expand Down

0 comments on commit aacda4d

Please sign in to comment.