Formatting improvements for package.json

Sorted with https://github.com/cameronhunter/prettier-package-json and relevant minor docs update
This commit is contained in:
Christian Oliff
2020-06-05 00:55:15 +09:00
parent e060848f71
commit 01b5cd0792
4 changed files with 12 additions and 28 deletions

4
dist/doc/misc.md vendored
View File

@@ -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)

16
dist/package.json vendored
View File

@@ -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"
}

View File

@@ -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)

View File

@@ -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"
}