A Yeoman generator for scaffolding HanBootStrap into all types of projects. Consolidated from the generator-hbs-standard, generator-hbs-requirejs, and generator-hanbs-wp projects.
npm install -g generator-hanbs
yo hanbsand follow the prompts to scaffold your project
Version 0.1.4: Bugfix to class subgenerator
Version 0.1.3: Updated the class and controller subgenerators to write hanbs.json if it does not exist, so you can use those generators as standalones, or have different configurations per folder. Updated the controller subgenerator to use the node path module and to allow dot-separated controller names like class.
Version 0.1.2 adds a new "class" subgenerator that you can use to scaffold HanBS-compatible classes. The syntax is:
yo hanbs:class ClassName
If you add dots or slashes to the class name, the class will be put into a subfolder, e.g.
yo hanbs:class util.StringUtils
will be created as
As of version 0.1.0, your initial settings will be saved to
hanbs.json for future use.
yo hanbs:controller "myController"