Skip to content

Commit

Permalink
Merge pull request #2265 from h5bp/format-package-json
Browse files Browse the repository at this point in the history
Formatting improvements for package.json
  • Loading branch information
roblarsen committed Jun 4, 2020
2 parents e060848 + 01b5cd0 commit 5dfd2c3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 28 deletions.
4 changes: 2 additions & 2 deletions dist/doc/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ if you're interested. The fields we provide are as follows:

* `keywords` - an array of keywords used to discover your app in the npm
registry
* `author` - defines the author (via `name`, `email` and `url` fields) of a
package. There is also an alternative [contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
* `author` - defines the author of a package. There is also an alternative
[contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
field if there's more than one author.
* `license` - the license for your application. Must conform to
[specific rules](https://docs.npmjs.com/files/package.json#license)
Expand Down
16 changes: 4 additions & 12 deletions dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,15 @@
"name": " ",
"version": "0.0.1",
"description": "",
"keywords": "",
"license": "",
"author": "",
"scripts": {
"start": "npm run build && npm run dev",
"build": "parcel build index.html",
"dev": "parcel index.html --open",
"start": "npm run build && npm run dev",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"h5bp",
"template",
"front-end"
],
"author": {
"name" : "",
"email" : "",
"url" : ""
},
"license": "",
"devDependencies": {
"parcel-bundler": "^1.12.4"
}
Expand Down
4 changes: 2 additions & 2 deletions src/doc/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ if you're interested. The fields we provide are as follows:

* `keywords` - an array of keywords used to discover your app in the npm
registry
* `author` - defines the author (via `name`, `email` and `url` fields) of a
package. There is also an alternative [contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
* `author` - defines the author of a package. There is also an alternative
[contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
field if there's more than one author.
* `license` - the license for your application. Must conform to
[specific rules](https://docs.npmjs.com/files/package.json#license)
Expand Down
16 changes: 4 additions & 12 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,15 @@
"name": " ",
"version": "0.0.1",
"description": "",
"keywords": "",
"license": "",
"author": "",
"scripts": {
"start": "npm run build && npm run dev",
"build": "parcel build index.html",
"dev": "parcel index.html --open",
"start": "npm run build && npm run dev",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"h5bp",
"template",
"front-end"
],
"author": {
"name" : "",
"email" : "",
"url" : ""
},
"license": "",
"devDependencies": {
"parcel-bundler": "^1.12.4"
}
Expand Down

0 comments on commit 5dfd2c3

Please sign in to comment.