generator-couchapp

Scaffold out a front-end web app; based on generator-webapp

npm install generator-couchapp
28 downloads in the last week
63 downloads in the last month

CouchApp generator Build Status

Yeoman generator that scaffolds front-end web apps, and deploys them as CouchApps.

Stolen almost entirely from generator-webapp.

Features

  • 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.

Getting Started

  • Install: npm install -g generator-couchapp
  • Run: yo couchapp
  • Run grunt for building, grunt server for preview, and grunt deploy to push to CouchDB.

Options

  • --skip-install

    Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework <framework>

    Defaults to mocha. Can be switched for another supported testing framework like jasmine.

  • --coffee

    Add support for CoffeeScript.

Contribute

Want something? Either:

  1. Raise an issue.
  2. Fork me, and make a pull request.

Happy to consider any changes :D

License

BSD license

npm loves you