Simple checker to verify that version in Git tag is the same as in package.json
.
Usage:
npm install check-tag-version --save-dev
Add the following to scripts
section of your paclage.json
:
{
"scripts": {
"prepublish": "check-tag-version"
}
}