generator-cf-component
v0.1.1
Published
Yeoman generator for Capital Framework components
Downloads
5
Maintainers
Keywords
Readme
generator-cf-component
Yeoman generator for creating Capital Framework components.
Installation
Install Yeoman and the Capital Framework component generator:
npm install -g yo generator-cf-component
Usage
Create a new project directory and cd
to it:
mkdir my-new-project && cd $_
Run the Capital Framework component generator:
yo cf-component
Compile the assets:
grunt
View the component demo page:
open ./demo/index.html
Build your component!
Contributing
To hack on this generator, fork this repo, clone it and use npm link
:
$ cd generator-cf-component
$ npm link
$ cd some-empty-directory-somewhere
$ yo cf-component
Edit the source files and re-run yo cf-component
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.