generator-tiy-gvl

A Yeoman generator for TIY FEE students

Usage no npm install needed!

<script type="module">
  import generatorTiyGvl from 'https://cdn.skypack.dev/generator-tiy-gvl';
</script>

README

Yeoman TIY Generator

This is a Yeoman generator made specifically for students at The Iron Yard and is used as an introduction to Yeoman & npm. It includes a specific set of tools that we use throughout our course and purposefully omits certain ones until we need them.

What is Included

  • Sass
  • jQuery
  • Underscore

What is Optional

  • Bootstrap
  • Backbone
  • React

Installation & Usage

To install:

npm install -g generator-tiy-gvl

To update:

npm update -g generator-tiy-gvl

This is used like any other Yeoman generator. Simply navigate to your new project folder and run:

# Important: *run this inside the project directory*
yo tiy-gvl

npm Tasks

There are a few specific tasks so feel free to review the package.json but the most used ones will be:

  • npm run watch — Starts a server and watches for changes, also livereload

  • npm run deploy — Builds the project, creates a gh-pages branch (if one doesn't exist), and populates it with the contents of your dist/ dir.
    Note: Uses a second worktree to do the git magic. See git-worktree