riot-bump

1.0.0 • Public • Published

bump

Simple CLI tool for bump a new version

Replaces all occurrences of a string within the JavaScript files in the given directory with the version number in package.json

Install

npm install riot-bump --save-dev

Usage

./node_modules/.bin/riot-bump directory searchedString

directory — It is the location of the .js files that will be replaced. Defaults to dist/
searchedString — Case sensitive string to replace. Defaults to "WIP"

The version number is readed from the package.json file in the current directory. The replacement is made without creating backup files.

/riot-bump/

    Package Sidebar

    Install

    npm i riot-bump

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • amarcruz