зеркало из
1
0
Форкнуть 0
An example for demonstrating how to build an app using npm modules + browserify + gulp
Перейти к файлу
Matthew Riley MacPherson f07bfaf847 Merge pull request #2 from louisremi/louisremi-improve-readme
Improve install/usage instruction
2015-04-14 13:52:34 +03:00
src full contents 2015-01-30 22:49:58 +01:00
.gitignore full contents 2015-01-30 22:49:58 +01:00
README.md Improve install/usage instruction 2015-04-14 12:30:05 +02:00
gulpfile.js full contents 2015-01-30 22:49:58 +01:00
package.json full contents 2015-01-30 22:49:58 +01:00

README.md

node-firefox-examples-gulp

An example for demonstrating how to build an app using npm modules + browserify + gulp

This is part of the node-firefox project.

What you need

  • 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)

Build and run the example

Install the dependencies by running npm install in the directory of this project.

There are three npm scripts available:

  • npm start will build the app into build/index.html which 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-one will launch the first simulator it can find and push the app to it, launch it, and watch for CSS changes,
  • npm run default-all will do the same but for all the simulators you have installed in your system.