Create a nice open source library.
Create a new repo on github and clone it to local, then init your scaffold.
$ cd your_repo
$ npx create-nice-lib
First generate github token(public_repo
is all you need),then exports it in .bashrc/.zshrc
(remember to restart your bash/zsh
)
export CONVENTIONAL_GITHUB_RELEASER_TOKEN="your_token"
Never ever expose your token in your repo
$ npm run build # build
$ npm run eslint # lint codes
$ npm run push # add & commit & push codes
$ npm run release:beta # release beta version
$ npm run release # release production version