awesome-create-npm
v0.0.5
Published
`npm init awesome-create-npm` to create a awesome npm module.
Downloads
3
Readme
awesome-create-npm
npm init create-npm
to create a awesome npm module.
Never manually do the linting, versioning, tagging, editing changelog and pushing commit, unleash the power of hooks.
Create a npm module
- use
npm
# choose one of the following methods
$ npm i -g awesome-create-npm && create-npm [name]
$ npx create-npm [name]
- use
yarn
$ yarn create create-npm [name]
Workflow of publishing a npm module
Commit and publish, everything will be done automatically.
$ git commit
$ npm publish
Optional workflow
Use git cz
instead of git commit
, this will generate better changelog.
You need to install commitizen
and create ~/.czrc
.
$ npm install commitizen -g
$ echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
Workflow:
$ git cz
$ npm publish
Related
- create-nm
npm init nm
. - np A better
npm publish
. - commitizen Simple commit conventions for internet citizens.
- conventional-changelog Generate a changelog from git metadata.
- lint-staged Lint files staged by git.
- husky Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)].
License
Contributors
| ||
This project follows the git-contributor spec, auto updated at Fri Sep 20 2019 11:02:44 GMT+0800
.