generator-vanillajs
v0.1.13
Published
A yeoman generator for an old school, vanilla javascript web app. Word to your mother.
Downloads
1
Maintainers
Readme
generator-vanillajs
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