Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Latest commit

 

History

History
53 lines (32 loc) · 2.07 KB

README.md

File metadata and controls

53 lines (32 loc) · 2.07 KB

DEPPRECATION NOTE

Please be aware that this tool is no longer maintained.

generator-init v0.1.2

INIT

Bitdeli Badge Build Status NPM version Built with Grunt

A Yeoman generator for INIT.

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

SCAFFOLD ALL THE THINGS!!1!

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.