generator-package

Generates requirejs and cjs packages. Also provides a package that suits both.

Usage no npm install needed!

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

README

generator-package

app

Questions:

  1. What is the name of this package?

  2. For what environments is this package for? [X] node (common.js) [X] browser (amd)

  3. What kind of package is it?

  4. [only for node] What npm packages does it depend upon?

  5. [only for browser] What bower packages does it depend upon?

demo

qunit-amd

nodeunit

Gruntfile.js

License

MIT License