generator-vanillajs

A yeoman generator for an old school, vanilla javascript web app. Word to your mother.

Usage no npm install needed!

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

README

generator-vanillajs Build Status

A Yeoman for an old school javascript web app. Word to your mother.

No AMD. No frameworks. Just simple Javascript.

Usage

Install generator-vanillajs:

npm install -g generator-vanillajs

Make a new directory, and cd into it:

mkdir my-new-project && cd $_

Run yo vanillajs and follow the prompts.

Run grunt server for previewing and grunt test for unit testing.

Generators

Module

Generates a module in app/scripts/modules.

Example:

yo vanillajs:module FunkyMusic

Produces app/scripts/modules/FunkyMusic.js:

Bower Components

The following packages are always installed by the app generator:

  • Bootstrap
  • QUnit
  • JQuery

Testing

Running grunt test will open the QUnit test page.

License

MIT