generator-tiny-es-nm

Scaffold out a tiny ES6 node module

Usage no npm install needed!

<script type="module">
  import generatorTinyEsNm from 'https://cdn.skypack.dev/generator-tiny-es-nm';
</script>

README

generator-tiny-es-nm

NPM version Build Status Dependency Status

Scaffold out a tiny ES6 node module

soylent example

Install

npm install --global yo generator-tiny-es-nm

Usage

# create folder for your project
mkdir awsm-project
cd awsm-project

# run generator
yo tiny-es-nm

# make initial commit
git add .
git commit -m 'init'

Next steps:

  1. Push it to your github repo
  2. Enable your project on travis: https://travis-ci.org/profile/ travis
  3. Enable your project on coveralls: https://coveralls.io/repos/new coveralls
  4. Write some tests in tests.js
  5. Run tdd mode: npm run tdd
  6. Write your module to pass the tests
  7. When all tests are green bump major version and publish it:
npm version major
npm publish

Your package will be tagged, commited, transpiled, published, cleaned up and pushed all the changes to github automagically ✨, take a look at scripts section.

You are awesome! ✨💫

License

MIT © Vladimir Starkov