generator-caribou
v0.2.15
Published
Generator for front end apps using Gulp, Karma, Mocha & Other Goodies
Downloads
8
Readme
Caribou Generator
Yeoman generator for projects that want a simple path to set up the following tools for front-end development:
- gulp task runner
- Sass for stylesheets
- JSHint for linting JavaScript
- Browserify for combining JavaScript
- UglifyJS for minifying JavaScript
- Testing with Karma, Mocha, Chai, Sinon.JS, and Istanbul
You can optionally set up:
Install
npm install -g yo generator-caribou
mkdir my-app
cd my-app
yo caribou
Usage
Caribou uses gulp
as a task runner. The following tasks are available:
default
runs the build taskserve
cleans, runs linter, builds, serves, and watches for developmentserve:dist
cleans, runs linter, builds, and serves for distributiontest
cleans, runs linter, builds, tests, and watches for developmenttest:coverage
cleans, runs linter, builds, tests, and generates code coveragetest:app
cleans, runs linter, builds, tests, and watches app for developmenttest:server
cleans, runs linter, builds, tests, and watches server for developmentbuild
cleans, runs linter and builds for distributionlint
cleans, runs linterclean
cleans for developmentclean:dist
cleans for distribution
License
This project is distributed under the MIT license.