An example for demonstrating how to build an app using npm modules + browserify + gulp
This is part of the node-firefox project.
- node.js and git installed on your machine
- a Firefox OS simulator installed using WebIDE
- the files of this demo (clone this repo or download the zip)
Install the dependencies by running npm install in the directory of this project.
There are three npm scripts available:
npm startwill build the app intobuild/index.htmlwhich you can open with your browser to see it in action, unless you're using app APIs in which case you will need to run it in a Firefox OS simulator,npm run default-onewill launch the first simulator it can find and push the app to it, launch it, and watch for CSS changes,npm run default-allwill do the same but for all the simulators you have installed in your system.