A node generator for Yeoman
npm install generator-node-gulp-coffee
npm install -g generator-node-gulp-coffee.
--test-framework=[framework]
mocha. Can be switched to
jasmine.
--skip-install
bower and npm after
settings.json` file see.
- Prefills prompt with the last used values for
- GitHub username
- Author's Name
- Author's Email
- Author's Homepage
$3
- Mocha Unit Testing with gulp-mocha
- Automagically lint your code with gulp-coffeelint
- Optional – Measuring code coverage with gulp-istanbul
- Optional – Upload LCOV data to coveralls.io with coveralls
- Optional – Bump npm versions with gulp-bump
- Optional - Jasmine Unit Testing with gulp-jasmine
- Optional - Easy dependency injection for node.js unit testing with [rewire] (https://github.com/jhnns/rewire)
$3
You can customize the dependencies prompt by editing the `settings.json`. The file is located in the root of the generator-node-gulp `/usr/local/lib/node_modules/generator-node-gulp-coffee/`.
- debug
- Lo-Dash
- q
$3
By default, the file looks something like this.
`
{
"meta": {
"githubUsername": "stefanbuck",
"authorName": "Stefan Buck",
"authorEmail": "me@stefanbuck.com",
"authorUrl": "www.stefanbuck.com"
},
"dependencies": [
{
"name": "lodash",
"description": "A utility library"
},
{
"name": "q",
"description": "A library for promises"
},
{
"name": "debug",
"description": "tiny node.js debugging utility"
}
]
}
`
Usage
At the command-line, cd into an empty directory, run this command and follow the prompts.
`
yo node-gulp-coffee
``