1.0.0 • Published 10 years ago

generator-igniter4 v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

ShopIgniter 4.x Theme Generator

Yeoman generator

Getting Started

Install Yeoman

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

$ npm install -g yo

Usage

To install generator-igniter4 from npm, run:

$ npm install -g generator-igniter4

Finally, initiate the generator:

$ yo igniter4

The generator will scaffold out a complete theme for you based on the original Theme Boilerplate.

Features

  • Custom prompt asking for the Theme Name that is used to customize the following app files:
FileDescription
bower.jsonSends in a slugified version of the theme name into the bower package name field.
package.jsonDoes the same thing as bower.json but for package.json
Gruntfile.jsYeoman-defined 'app' and 'dist' variables are used to populate the Gruntfile to point to the correct directories.
README.mdHeading uses the capitalized version of the Theme Name
theme.ymltheme_name uses the capitalized version of the Theme Name
theme_slug uses the slugified version of the Theme Name
theme_tags uses the slugified version of the Theme Name
  • Direct copy of IgniterPromotionBundle/ and public/ assets
  • Allows for convenient on-the-fly theme creation and updating by simply running the 'yo igniter4' command with conflict resolution built-in, so there's no need to worry about overwriting files when running the generator again to pull in an update.
1.0.0

10 years ago