0.1.13 • Published 10 years ago

generator-vanillajs v0.1.13

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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