riot/bump

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

riot-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
install riot-bump --save-dev
Usage
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.

In package.json
cripts": {
"test": "make test",
"prepublish": "make build && ./node_modules/.bin/riot-bump"


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.