generator-np

Generator for npm module with ES6+, Babel, Ava, ESlint, Travis and npm scripts

Usage no npm install needed!

<script type="module">
  import generatorNp from 'https://cdn.skypack.dev/generator-np';
</script>

README

NPM Version NPM downloads License Github Issues Travis Status Coveralls Commitizen Friendly

Generator for npm module with ES6+, Babel, Ava, ESlint, Travis, and npm scripts

Features

  • Generates npm module structure with babel, ava, pre-commit hooks, linters, etc;
  • Adds usefull npm scripts which helps with testing, publishing, etc;
  • [Optional] generate CLI boilerplate;
  • [Optional] generate configs for travis and coveralls;
  • [Optional] setup module to use commitizen and cz-conventional-changelog;
  • [Optional] center module name and badges in README.md;
  • [Optional] automatic github releases through conventional-github-releaser, requires setup for travis and commitizen.

generator-np

Install

npm install -g generator-np

Usage

You need Yeoman to run this command.

yo np

Author

Stanislav Sysoev d4rkr00t@gmail.com http://github.com/d4rkr00t

License

Contributing

Contributions are highly welcome! This repo is commitizen friendly — please read about it here.