generator-generator_grunt_coffee
v0.1.1
Published
Grunt-powered CoffeeScript Generator Generator for Yeoman
Downloads
5
Readme
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.
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/
andtest/
directories intosrc/
, which contain.coffee
files that will be compiled to their original locations by thegrunt build
task. - Removes
jshint
, as presumably you are writing your generator in CoffeeScript and not JS. - Is itself written in CoffeeScript.
Commands
yo generator_grunt_coffee
shows a wizard for generating a new generatoryo 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