Bakerify generator
Yeoman generator that scaffolds out a front-end web app with bake and browserify. This is a fork of generator-webapp.
Features
- CSS Autoprefixing
- Built-in preview server with LiveReload
- Automagically compile CoffeeScript & Sass
- Automagically lint your scripts
- Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
- Mocha Unit Testing with PhantomJS
- HTML partials with grunt-bake
- Modular JavaScript with Browserify
- Leaner Modernizr builds (Optional)
- Normalize SCSS (Optional)
Getting Started
- Install:
npm install -g generator-bakerify
- Run:
yo bakerify
- Run
grunt
for building andgrunt serve
for preview.--allow-remote
option for remote access.
Options
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished. -
--test-framework=<framework>
Defaults to
mocha
. Can be switched for another supported testing framework likejasmine
. -
--coffee
Add support for CoffeeScript.