- npm account (npm package)
- github (repo & CI)
- create your project folder.
- initialize git repository with
git init
and create github repository - initialize the npm project with
npm init --yes
. - add
.travis.yml
and push to github. - link travis with github via web.
git push
and see the CI running.- copy the badge from the project CI page and add it to README.
npm publish
the module and make it available on npm.
make some changes, and bump version with
npm version patch
# or
npm version minor
# or
npm version major
and git push && npm publish
Thanks to Christian Fei