generator-gowento

Node module template for authoring with ES6+, Babel, AVA and npm/yarn scripts

Usage no npm install needed!

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

README

Gowento Yeoman Generator

Scaffold out a node module with ES6+, Babel, ava, npm scripts and more. Based on generator-rise

Install

npm i -g generator-gowento

Usage

You need Yeoman to run this command.

yo gowento
→ create package.json
→ create README.md
→ create LICENSE
→ create src/index.js
→ create test/index.js
→ create .editorconfig
→ create .gitignore
→ create .eslintrc
→ create .eslintignore

Workflow

  • Add code to src/index.js and tests to test/index.js.

  • Lint, build and test a project with npm run build.

  • Run only tests with npm run test.

  • Deploy to a remote origin with npm run deploy.

  • Bump version and publish a package with npm run major or minor/patch

License

MIT © Gowento