blob: eca15e0381bebeeb21342a09c4db046cd6eaf7c7 [file] [log] [blame]
"name": "node-firefox-find-devices",
"version": "1.0.0",
"description": "Find attached FirefoxOS devices using ADB",
"main": "index.js",
"dependencies": {
"es6-promise": "^2.0.1",
"adbkit": "^2.1.6"
"devDependencies": {
"gulp": "^3.8.10",
"gulp-jscs": "^1.3.1",
"gulp-jshint": "^1.9.0",
"gulp-json-lint": "0.0.1",
"gulp-nodeunit": "0.0.5",
"gulp-replace": "^0.5.0",
"jshint-stylish": "^1.0.0",
"mockery": "^1.4.0",
"node-firefox-build-tools": "^0.1.0",
"nodemock": "^0.3.4"
"scripts": {
"gulp": "gulp",
"test": "gulp test"
"repository": {
"type": "git",
"url": ""
"keywords": [
"developer tools",
"firefox os",
"author": {
"name": "Mozilla",
"url": ""
"contributors": [
"name": "Les Orchard",
"email": "",
"url": ""
"license": "Apache 2.0",
"bugs": {
"url": ""
"homepage": "",
"readme": "# node-firefox-find-devices [![Build Status](](\n\n> Find attached FirefoxOS devices using ADB.\n\n[![Install with NPM](](\n\nThis is part of the [node-firefox]( project.\n\nWhen Firefox OS devices are plugged in via USB, they can be found using the\nAndroid Debug Bridge. Once found, a test for the presence of Firefox OS on the\ndevice can separate them from normal Android devices.\n\n## Installation\n\n### From git\n\n```bash\ngit clone\ncd node-firefox-find-devices\nnpm install\n```\n\nIf you want to update later on:\n\n```bash\ncd node-firefox-find-devices\ngit pull origin master\nnpm install\n```\n\n### npm\n\n```bash\nnpm install node-firefox-find-devices\n```\n\n## Usage\n\n```javascript\nfindDevices() // returns a Promise\n```\n\n### Finding devices\n\n```javascript\nvar findDevices = require('node-firefox-find-devices');\n\n// Return all listening runtimes\nfindDevices().then(function(results) {\n console.log(results);\n});\n```\n\n## Running the tests\n\nAfter installing, you can simply run the following from the module folder:\n\n```bash\nnpm test\n```\n\nTo add a new unit test file, create a new file in the `tests/unit` folder. Any file that matches `test.*.js` will be run as a test by the appropriate test runner, based on the folder location.\n\nWe use `gulp` behind the scenes to run the test; if you don't have it installed globally you can use `npm gulp` from inside the project's root folder to run `gulp`.\n\n### Code quality and style\n\nBecause we have multiple contributors working on our projects, we value consistent code styles. It makes it easier to read code written by many people! :-)\n\nOur tests include unit tests as well as code quality (\"linting\") tests that make sure our test pass a style guide and [JSHint]( Instead of submitting code with the wrong indentation or a different style, run the tests and you will be told where your code quality/style differs from ours and instructions on how to fix it.\n\nThis program is free software; it is distributed under an\n[Apache License](\n\n## Copyright\n\nCopyright (c) 2015 [Mozilla](\n([Contributors](\n",
"readmeFilename": "",
"gitHead": "d12f9aaeca4ed669da0817c130e3df5fb05dd57d",
"_id": "node-firefox-find-devices@1.0.0",
"_shasum": "f84df2a6cffa5de83253441e0443070ce063e8ca",
"_from": "node-firefox-find-devices@"