Yeoman generator that scaffolds front-end web apps, and deploys them as CouchApps.
Stolen almost entirely from generator-webapp.
- CSS Autoprefixing (new)
- Built-in preview server with LiveReload
- Automagically compile CoffeeScript & Compass
- Automagically lint your scripts
- Automagically wire up your Bower components. Supported both with and without (new) RequireJS.
- Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
- Mocha Unit Testing with PhantomJS
- Optional - RequireJS
- Optional - Twitter Bootstrap for SASS
- Optional - Leaner Modernizr builds (new)
For more information on what generator-couchapp
can do for you, take a look at the Grunt tasks used in our package.json
.
- Install:
npm install -g generator-couchapp
- Run:
yo couchapp
- Run
grunt
for building,grunt server
for preview, andgrunt deploy
to push to CouchDB.
-
--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.
Want something? Either:
- Raise an issue.
- Fork me, and make a pull request.
Happy to consider any changes :D