Yeoman generator for Capital Framework.
Install Yeoman and the Capital Framework generator:
npm install -g yo generator-cf
Create a new project directory and cd
to it:
mkdir my-new-project && cd $_
Run the Capital Framework generator:
yo cf
Compile the assets:
grunt
View the demo page:
open ./dist/index.html
Build your project!
To hack on this generator, fork this repo, clone it and use npm link
:
$ cd generator-cf
$ npm link
$ cd some-empty-directory-somewhere
$ yo cf
Edit the source files and re-run yo cf
to see the changes.
Please modify the current tests or write new tests if you add functionality to the generator.
Tests can be executed by running npm test
from the project's root.