Yeoman generator for Capital Framework components
npm install generator-cf-componentYeoman generator for creating Capital Framework components.
Install Yeoman and the Capital Framework component generator:
``bash`
npm install -g yo generator-cf-component
Create a new project directory and cd to it:`bash`
mkdir my-new-project && cd $_
Run the Capital Framework component generator:
`bash`
yo cf-component`
Compile the assets:bash`
grunt
View the component demo page:
`bash`
open ./demo/index.html
Build your component!
To hack on this generator, fork this repo, clone it and use npm link:
`bash`
$ 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.npm test` from the project's root.
Please modify the current tests or write new tests if you add functionality to the generator.
Tests can be executed by running
----