easy-release

0.0.12 • Public • Published

中文

easy-release

Easily publish new versions and push.

Notice:

because changelog use conventional-changelog so please install conventional-changelog:

npm i --save-dev conventional-changelog

Installing easy-release

npm i --save-dev easy-release

Add an npm run script to your package.json:

{
  "scripts": {
    "release": "easy-release"
  }
}

Configuration

  1. --dry:

    • describe: skip git add git commit npm publish git tag git tag push git push
    • type: boolean
    • default: false
    • example: easy-release --dry
  2. --pre:

    • describe: example beta alpha ...
    • type: string
    • default: ''
    • example: easy-release --pre=beta
  3. --sb:

    • describe: skip build
    • type: boolean
    • default: false
    • example: easy-release --sb
  4. --sc:

    • describe: skip changelog
    • type: boolean
    • default: false
    • example: easy-release --sc
  5. --sp:

    • describe: skip publish
    • type: boolean
    • default: false
    • example: easy-release --sp
  6. tag:

    • describe: npm publish --tag xxx
    • type: string
    • default: '' if --pre value
    • example: easy-release --tag=beta

Thank

modeled after the vue release. thank vue

/easy-release/

    Package Sidebar

    Install

    npm i easy-release

    Weekly Downloads

    10

    Version

    0.0.12

    License

    MIT

    Unpacked Size

    47 kB

    Total Files

    6

    Last publish

    Collaborators

    • bdoo
    • duowb