Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Yo generator for browserifiable code that can run Cordova mobile
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
package.json

README.md

generator-browserifycordova Build Status

Feeling uneasy when your perfectly good browserifiable apps have to fit into a Apache Cordova-specific layout?

Voilá! Problem solved.

Your browserifiable apps can now be wrapped by Cordova and live on the mobile side of life, while you can code in a perfectly normal Node.js Grunt project layout.

It all boils down to having Browserify convert your code to a bundle that is copied to the Cordova side, every grunt watch cycle. It can then be deployed to any of the supported mobile platforms with grunt deploy.

This Yeoman generator was based on eugeneware/generator-nodejs, yeoman/generator-node and dangeross/generator-cordova.

Getting Started

  • Firstly, install:

    • the SDKs you fancy (i.e. Android, iOS, FirefoxOS, etc)
    • Apache Cordova npm install -g cordova
    • Yo $ npm install -g yo
  • To install generator-browserifycordova from npm, run:

$ npm install -g generator-browserifycordova
  • Finally, initiate the generator:
$ yo browserifycordova

Getting To Know Yeoman

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

License

MIT License

Something went wrong with that request. Please try again.