awesome-create-npm

0.0.5 • Public • Published

awesome-create-npm

NPM version Build status Dependency status CircleCI

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

MIT

Contributors

| ||

This project follows the git-contributor spec, auto updated at Fri Sep 20 2019 11:02:44 GMT+0800.

Readme

Keywords

none

Package Sidebar

Install

npm i awesome-create-npm

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

15 kB

Total Files

18

Last publish

Collaborators

  • zivyangll