Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ A `package.json` file:

A `package.json` file must contain `"name"` and `"version"` fields.

The `"name"` field contains your package's name, and must be lowercase and one word, and may contain hyphens and underscores.
The `"name"` field contains your package's name, and must be lowercase and one word, and may contain hyphens, dots and underscores.

The `"version"` field must be in the form `x.x.x` and follow the [semantic versioning guidelines][semver].

Expand All @@ -34,7 +34,7 @@ The `"version"` field must be in the form `x.x.x` and follow the [semantic versi
If you want to include package author information in `"author"` field, use the following format (email and website are both optional):

```
Your Name <[email protected]> (http://example.com)
Your Name <[email protected]> (https://example.com)
```

### Example
Expand All @@ -43,7 +43,7 @@ Your Name <[email protected]> (http://example.com)
{
"name": "my-awesome-package",
"version": "1.0.0",
"author": "Your Name <[email protected]> (http://example.com)"
"author": "Your Name <[email protected]> (https://example.com)"
}
```

Expand Down