generator-brei-app
Getting Started
Install Yeoman
npm install -g yo
Install the BREI-App Generator
npm install -g generator-brei-app
Finally, initiate the generator:
yo brei-app
Sub-Generators
All Sub-Generators install the properly formatted .hbs and .scss file. All according to conventions. Woot.
Create a new Template:
yo brei-app:template
Create a new Module
yo brei-app:module
Create a new Partial
yo brei-app:partial
Add a pattern from the BREI Pattern Library
yo brei-app:pattern
- You will be provided a list of available patterns, so long as the library's
pattern.json
is up to date.
This will help prevent issues of spelling the name wrong.
Testing
This generator has git pre-commit hook that will forcefully run the tests and jshint
Prerequisites:
npm install -g jshint
To Test:
npm test