generator-generator_grunt_coffee

0.1.1 • Public • Published

Yeoman Generator for Grunt-based CoffeeScript Yeoman Generators

generator-generator_grunt_coffee is a tool for generating Yeoman generators that use a Grunt-based development workflow and the CoffeeScript programming language.

Build Status status Dependency Status devDependency Status Gittip

NPM

Many thanks to https://github.com/tuxracer/generator-generatorcs for inspiring this fork.

Key differences from generator-generator

  • Adds a Gruntfile.coffee for your generator including configuration for...
    • grunt-contrib-clean
    • grunt-contrib-coffee
    • grunt-contrib-copy
    • grunt-contrib-watch
    • grunt-mocha-cli
  • Moves the app/ and test/ directories into src/, which contain .coffee files that will be compiled to their original locations by the grunt build task.
  • Removes jshint, as presumably you are writing your generator in CoffeeScript and not JS.
  • Is itself written in CoffeeScript.
  • Removes LICENSE file from output. Use another package for this such as mit.

Commands

  • yo generator_grunt_coffee shows a wizard for generating a new generator
  • yo generator_grunt_coffee:subgenerator NAME generates a subgenerator with the name NAME

What do you get?

generator_grunt_coffee scaffolds out a complete project directory structure for you.

.
├── Gruntfile.coffee
├── LICENSE
├── node_modules
├── package.json
├── README.md
└── src
  ├── app
  │   ├── index.coffee
  │   └── templates
  │       ├── _bower.json
  │       ├── editorconfig
  │       ├── _package.json
  │       └── travis.yml
  └── test
  ├── test-creation.coffee
  └── test-load.coffee

Getting started

  • Install: npm install -g generator-generator_grunt_coffee
  • Run: yo generator_grunt_coffee

License

MIT License

Bitdeli Badge

xrefs funcs top func library users authors Total views Views in the last 24 hours

Readme

Keywords

none

Package Sidebar

Install

npm i generator-generator_grunt_coffee

Weekly Downloads

2

Version

0.1.1

License

none

Last publish

Collaborators

  • logankoester