Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
add not notation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlacy committed Feb 23, 2015
1 parent d33a1d2 commit 88547e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,20 @@ Example:
.pipe(bump({key: 'build-version'}))
.pipe(bump({key: 'dev-version', type: 'major'}))
```
##### Dot notation is supported for nested versions:
```js

.pipe(bump({key: {'sublevel.version'}}))

/*
{
"sublevel": {
"version": "<semver>"
}
}
*/
```
### options.version
Set a specific version to bump to.
Expand Down

0 comments on commit 88547e2

Please sign in to comment.