generator-init
v0.1.2
Published
A generator for INIT.
Downloads
2
Readme
generator-init v0.1.2
INIT is based upon HTML5 Boilerplate and adds more structure for SCSS and JavaScript files, includes build tasks and a whole lot more.
Currently this generator scaffolds INIT v1.0.2.
Maintained by: @kahlil
Contributors: @sergiovilar, @drublic
Main Generator
Install and use the generator by typing the following into the command line:
npm install -g yo
npm install -g generator-init
yo init
Sub-Generator init:page
Use yo init:page '<pagename>'
to create a new page snippet for INITs simple static page generator.
####Sub-Generator init:module
Use yo init:module 'modulename'
to scaffold a new JavaScript module.
Sub-Generator init:jqueryplugin
Use yo init:jqueryplugin 'pluginame'
to scaffold a new jQuery Plugin with the name jquery.<pluginname>.js
.
Advice
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.