enmav
v0.7.12
Published
enMAV is an auto version updater each time you build your JS or TS Project
Downloads
28
Maintainers
Readme
enMAV
Just another auto semantic versioning for NPM publisher
👀 How it works ?
Every time you build or patch your TypeScript project, enMAV will automatically increment the patch/build value in the package.json file. It's as simple as that, and then you can publish it to NPM.
Installation
npm i enmav -g
Usage
# init will create enMAV config file
enmav --init
# Or
# you can add your favourite bundler on init
enmav --init --bundler rollup
# default bundler would be tsc if you don`t specified any
# this will add extra script command in your package.json
The output would be :
{
"name": "your-ts-app",
"version": "1.0.0",
"main": "index.ts",
"scripts": {
"build:asv": "enmav --update-version && rollup"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": ""
}