Skip to content

Commit 5dfd2c3

Browse files
authored
Merge pull request #2265 from h5bp/format-package-json
Formatting improvements for package.json
2 parents e060848 + 01b5cd0 commit 5dfd2c3

File tree

4 files changed

+12
-28
lines changed

4 files changed

+12
-28
lines changed

dist/doc/misc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ if you're interested. The fields we provide are as follows:
193193

194194
* `keywords` - an array of keywords used to discover your app in the npm
195195
registry
196-
* `author` - defines the author (via `name`, `email` and `url` fields) of a
197-
package. There is also an alternative [contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
196+
* `author` - defines the author of a package. There is also an alternative
197+
[contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
198198
field if there's more than one author.
199199
* `license` - the license for your application. Must conform to
200200
[specific rules](https://docs.npmjs.com/files/package.json#license)

dist/package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22
"name": " ",
33
"version": "0.0.1",
44
"description": "",
5+
"keywords": "",
6+
"license": "",
7+
"author": "",
58
"scripts": {
6-
"start": "npm run build && npm run dev",
79
"build": "parcel build index.html",
810
"dev": "parcel index.html --open",
11+
"start": "npm run build && npm run dev",
912
"test": "echo \"Error: no test specified\" && exit 1"
1013
},
11-
"keywords": [
12-
"h5bp",
13-
"template",
14-
"front-end"
15-
],
16-
"author": {
17-
"name" : "",
18-
"email" : "",
19-
"url" : ""
20-
},
21-
"license": "",
2214
"devDependencies": {
2315
"parcel-bundler": "^1.12.4"
2416
}

src/doc/misc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ if you're interested. The fields we provide are as follows:
193193

194194
* `keywords` - an array of keywords used to discover your app in the npm
195195
registry
196-
* `author` - defines the author (via `name`, `email` and `url` fields) of a
197-
package. There is also an alternative [contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
196+
* `author` - defines the author of a package. There is also an alternative
197+
[contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
198198
field if there's more than one author.
199199
* `license` - the license for your application. Must conform to
200200
[specific rules](https://docs.npmjs.com/files/package.json#license)

src/package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22
"name": " ",
33
"version": "0.0.1",
44
"description": "",
5+
"keywords": "",
6+
"license": "",
7+
"author": "",
58
"scripts": {
6-
"start": "npm run build && npm run dev",
79
"build": "parcel build index.html",
810
"dev": "parcel index.html --open",
11+
"start": "npm run build && npm run dev",
912
"test": "echo \"Error: no test specified\" && exit 1"
1013
},
11-
"keywords": [
12-
"h5bp",
13-
"template",
14-
"front-end"
15-
],
16-
"author": {
17-
"name" : "",
18-
"email" : "",
19-
"url" : ""
20-
},
21-
"license": "",
2214
"devDependencies": {
2315
"parcel-bundler": "^1.12.4"
2416
}

0 commit comments

Comments
 (0)