Skip to content

Commit

Permalink
docs: fix default version in npm-config(7)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucthev authored and othiym23 committed Jan 26, 2015
1 parent fec9c85 commit 51b2fd1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/misc/npm-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ The following shorthands are parsed on the command-line:
* `-m`: `--message`
* `-p`, `--porcelain`: `--parseable`
* `-reg`: `--registry`
* `-v`: `--version`
* `-f`: `--force`
* `-desc`: `--description`
* `-S`: `--save`
Expand Down Expand Up @@ -433,7 +432,7 @@ The value `npm init` should use by default for the package license.

### init-version

* Default: "0.0.0"
* Default: "1.0.0"
* Type: semver

The value that `npm init` should use by default for the package
Expand Down Expand Up @@ -690,7 +689,7 @@ Only works if there is already a package.json file present.
Configure how versions of packages installed to a package.json file via
`--save` or `--save-dev` get prefixed.

For example if a package has version `1.2.3`, by default it's version is
For example if a package has version `1.2.3`, by default its version is
set to `^1.2.3` which allows minor upgrades for that package, but after
`npm config set save-prefix='~'` it would be set to `~1.2.3` which only allows
patch upgrades.
Expand Down Expand Up @@ -886,7 +885,6 @@ Set to `"browser"` to view html help content in the default web browser.
## SEE ALSO

* npm-config(1)
* npm-config(7)
* npmrc(5)
* npm-scripts(7)
* npm-folders(5)
Expand Down

0 comments on commit 51b2fd1

Please sign in to comment.