A generator for Yeoman that scaffolds out a front-end Web app with Jade templates.
- CSS Autoprefixing (new)
- Built-in preview server with LiveReload
- Automagically compile Jade & LESS
- Automagically lint your scripts
- Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
- Mocha Unit Testing with PhantomJS
- Optional - Twitter Bootstrap for LESS
- Optional - Leaner Modernizr builds (new)
For more information on what generator-jade-rabbit
can do for you, take a look at the Grunt tasks used in our package.json
.
- Make sure you have yo installed:
npm install -g yo
- Install:
npm install -g generator-jade-rabbit
- Run:
yo jade-rabbit
- Run:
grunt
for building andgrunt serve
for preview *
Note: grunt server
was previously used for previewing in earlier versions of the project and is being deprecated in favor of grunt serve
.
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished.