{
  "name": "testswarm",
  "description": "Nodejs module for interacting with TestSwarm",
  "version": "1.0.0-alpha",
  "homepage": "https://github.com/jzaefferer/node-testswarm",
  "author": {
    "name": "Jörn Zaefferer",
    "email": "joern.zaefferer@gmail.com"
  },
  "contributors": [
    {
      "name": "Timo Tijhof",
      "url": "https://github.com/Krinkle"
    }
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/jzaefferer/node-testswarm.git"
  },
  "bugs": {
    "url": "https://github.com/jzaefferer/node-testswarm/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/jzaefferer/node-testswarm/blob/master/LICENSE-MIT"
    }
  ],
  "main": "lib/testswarm.js",
  "scripts": {
    "test": "./node_modules/.bin/grunt lint"
  },
  "dependencies": {
    "request": "~2.12.0"
  },
  "devDependencies": {
    "grunt": "~0.3.17"
  },
  "keywords": [],
  "readme": "[![Build Status](https://secure.travis-ci.org/jzaefferer/node-testswarm.png)](http://travis-ci.org/jzaefferer/node-testswarm)\n\n# node-testswarm\n\nNodejs module for interacting with TestSwarm\n\n## Getting Started\nInstall the module with: `npm install testswarm`.\n\nSee [addjob README](https://github.com/jquery/testswarm/tree/master/scripts/addjob#fields) in the TestSwarm repository for what parameters the addjob API takes.\n\n```javascript\nvar testswarm = require( \"./lib/testswarm\" ),\n\ttestUrl = \"http://localhost/jquery-core/test/\",\n\truns = {};\n\n[\"attributes\", \"callbacks\"].forEach(function (suite) {\n\truns[suite] = testUrl + \"?module=\" + suite;\n});\n\ntestswarm.createClient( {\n\turl: \"http://localhost/testswarm/\"\n} )\n.addReporter( testswarm.reporters.cli )\n.auth( {\n\tid: \"example\",\n\ttoken: \"yourauthtoken\"\n} )\n.addjob(\n\t{\n\t\tname: \"node-testswarm test job\",\n\t\truns: runs,\n\t\tbrowserSets: [\"example\"],\n\t}, function( err, passed ) {\n\t\tif ( err ) {\n\t\t\tthrow err;\n\t\t}\n\t\tprocess.exit( passed ? 0 : 1 );\n\t}\n);\n```\n\nFor local testing, copy `sample-test.js` to `test.js` and modify to match your local TestSwarm setup.\n\n## License\nCopyright (c) 2012 Jörn Zaefferer\nLicensed under the MIT license.\n",
  "readmeFilename": "README.md",
  "_id": "testswarm@1.0.0-alpha",
  "_from": "testswarm@1.0.0-alpha"
}
