generator-couchapp

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i generator-couchapp

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • garbados