0.0.4 • Published 9 years ago
cordova-template-budo v0.0.4
Cordova Budo
A barebones Cordova template that utilizes Matt Deslaurier's budō browserify dev server.
Setup
Install
Install with the Cordova CLI:
cordova create my-app --template cordova-template-budoConfigure
Configure the dev server and build in the scripts part of the package.json file. The default is:
"scripts": {
"start": "budo app/index.js -H localhost --live --open --css app/styles.css",
"build": "budo-demo app/index.js -o www -c app/styles.css -m",
"clean": "rm -rf www/*"
}See the reference for budō and budo-demo for more options. The build and clean tasks are invoked in the scripts/pre-build.js hook.
Usage
For dev server, run:
npm startOtherwise, use the standard Cordova build workflow (cordova build).