Updates package.json with a pomVersion property from your parent pom.xml
npm install update-package-from-pomThis is a small command-line utility to grab the build version number from a maven pom.xml file and insert it into your package.json for easy use.
For the time being, both the pom.xml and package.json files must be in the same folder, as that's what the situation called for when writing this, also the property in your package.json is called pomVersion. Not exactly catchy, but hey, it's there.
- Run npm install -g update-package-from-pom
After installation it will be available as a command-line tool, simply run update-pom-version {path}.
It looks for both files in that path, more config will come soon, I swear upon the grave of my enemies I will do this.
Given the following pom.xml:
```
After execution you should see something like this:
```
{
"name": "mockPackage",
"version": "1.0.0",
"pomVersion": "2.5-SNAPSHOT"
}