generator-spiffy

Yeoman generator to boostrap NPM modules and web applications

Usage no npm install needed!

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

README

generator-spiffy

Build Status

Yeoman generator to bootstrap NPM modules and web applications

Installation

npm install -g generator-spiffy

Finally, run the generator:

yo spiffy

Features

  • Generate NPM modules
    • Use babel to write ES6 code (in src/) that compiles for CommonJS/Node (in lib/)
    • Use Mocha, Sinon and Chai for testing bliss
    • Autogenerated docs from JSDoc comments
    • Eslint configuration
  • Generate web applications (coming soon-ish!):
    • React, Reflux, react-router
    • WebPack development and production builds
    • Babel for ES6 awesomeness
    • flow for type checking
    • Autogenerated docs from JSDoc comments
    • Eslint configuration

See the package.json of the generated application or run npm run for all available tasks.

TODO

  • Add web application generator
    • Add component sub-generator
    • Add store sub-generator
    • Add action sub-generator

License

MIT © Dana Woodman