diff --git a/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx b/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx index f2cf6f5b7c..e6b775a1cc 100644 --- a/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx +++ b/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx @@ -25,16 +25,16 @@ 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 *without* any spaces. May contain _hyphens_, _dots_, and _underscores_. The `"version"` field must be in the form `x.x.x` and follow the [semantic versioning guidelines][semver]. ### Author field -If you want to include package author information in `"author"` field, use the following format (email and website are both optional): +If you want inclusive package author information, in the `"author"` field use the following format (email and website are both optional): ``` -Your Name (http://example.com) +Your Name (https://example.com) ``` ### Example @@ -43,7 +43,7 @@ Your Name (http://example.com) { "name": "my-awesome-package", "version": "1.0.0", - "author": "Your Name (http://example.com)" + "author": "Your Name (https://example.com)" } ```