Skip to content

Commit

Permalink
reconcile init-* config with init-package-json
Browse files Browse the repository at this point in the history
  • Loading branch information
othiym23 committed Oct 24, 2014
1 parent 5f5f9e4 commit 2248bf5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions doc/misc/npm-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,35 +384,35 @@ documentation for the
[init-package-json](https://github.com/isaacs/init-package-json) module
for more information, or npm-init(1).

### init.author.name
### init-author-name

* Default: ""
* Type: String

The value `npm init` should use by default for the package author's name.

### init.author.email
### init-author-email

* Default: ""
* Type: String

The value `npm init` should use by default for the package author's email.

### init.author.url
### init-author-url

* Default: ""
* Type: String

The value `npm init` should use by default for the package author's homepage.

### init.license
### init-license

* Default: "ISC"
* Type: String

The value `npm init` should use by default for the package license.

### init.version
### init-version

* Default: "0.0.0"
* Type: semver
Expand Down
20 changes: 10 additions & 10 deletions lib/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ Object.defineProperty(exports, "defaults", {get: function () {
, heading: "npm"
, "ignore-scripts": false
, "init-module": path.resolve(home, ".npm-init.js")
, "init.author.name" : ""
, "init.author.email" : ""
, "init.author.url" : ""
, "init.version": "1.0.0"
, "init.license": "ISC"
, "init-author-name" : ""
, "init-author-email" : ""
, "init-author-url" : ""
, "init-version": "1.0.0"
, "init-license": "ISC"
, json: false
, key: null
, link: false
Expand Down Expand Up @@ -270,11 +270,11 @@ exports.types =
, "heading": String
, "ignore-scripts": Boolean
, "init-module": path
, "init.author.name" : String
, "init.author.email" : String
, "init.author.url" : ["", url]
, "init.license": String
, "init.version": semver
, "init-author-name" : String
, "init-author-email" : String
, "init-author-url" : ["", url]
, "init-license": String
, "init-version": semver
, json: Boolean
, key: [null, String]
, link: Boolean
Expand Down

0 comments on commit 2248bf5

Please sign in to comment.