Add a new package.json variable
Like versionShort
or something which currently will be set to 4.1
. Then we can use this variable in package.json
with $npm_package_variable
, without having to duplicate it, or replace it manually on minor version bumps.
/CC @mdo @Johann-S for thoughts