Keeping bower.json and package.json in sync, the CLI way

Love npm version? Wish it would update bower.json too? mikaelbr's mversion is for you.

Mversion's syntax is basically the same as npm version, so this will probably look familiar:

$ mversion patch
New Version: 0.0.1  
Updated package.json  
Updated bower.json  

The only notable difference is that running the command will not automatically commit and tag changes for you. If you want it to, add -m:

$ mversion patch -m
New Version: 0.0.1  
Updated package.json  
Updated bower.json  
Commited to git and created tag v0.0.1  

Read the docs for a complete overview.