Name: bump
Owner: Riot
Description: Simple CLI tool for bump a new version
Created: 2016-01-06 07:45:18.0
Updated: 2016-03-11 15:35:36.0
Pushed: 2016-01-09 00:13:42.0
Homepage: null
Size: 5
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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 riot-bump --save-dev
de_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.
cripts": {
"test": "make test",
"prepublish": "make build && ./node_modules/.bin/riot-bump"