New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bump-json-file

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bump-json-file

`bump` any semver version in any JSON file via a simple and basic CLI.

0.0.3
latest
npm
Version published
Maintainers
1
Created
Source

bump

bump any semver version in any JSON file via a simple and basic CLI.

install

$ yarn global add bump-json-file
$ npm i -g bump-json-file

example

Bump will by default bump version in package.json.

$ bump

Current version: 0.0.1-rc.0

? Update version to (Use arrow keys)
❯ Prerelease:  0.0.1-rc.1
  Patch:       0.0.1
  Minor:       0.1.0
  Major:       1.0.0
  Don't update.

But you can also pass in a --file and/or a --key arg.

$ bump --file=./app.json --key=expo.version

Handy as commit hook with husky.

FAQs

Package last updated on 05 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts