2.0.0 • Published 6 years ago

npm-bower-sync-ver v2.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

Npm Bower Sync Ver

Simple Node.js CLI to synchronize the version property in package.json and bower.json using package.json as the source of truth. Bower deprecated the use of the version property but it is still required by some artifact repositories like JFrog's Artifactory.

Setup

Install

npm i -D npm-bower-sync-ver

Then add the version line to your package.json scripts property object

  "scripts": {

    "version": "npm-bower-sync-ver && git add bower.json"

  }

Usage

Now you can use npm to bump version and it will automatically update bower.json before the commit and tag.

npm version minor
2.0.0

6 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago