generator-browserifycordova
v0.1.2
Published
A generator for Yeoman
Downloads
8
Readme
generator-browserifycordova
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.