Advertisement
Guest User

Untitled

a guest
Oct 31st, 2013
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "name": "karma-script-launcher",
  3.   "version": "0.1.0",
  4.   "description": "A Karma plugin. Launcher for shell scripts.",
  5.   "main": "index.js",
  6.   "scripts": {
  7.     "test": "echo \"Error: no test specified\" && exit 1"
  8.   },
  9.   "repository": {
  10.     "type": "git",
  11.     "url": "git://github.com/karma-runner/karma-script-launcher.git"
  12.   },
  13.   "keywords": [
  14.     "karma-plugin",
  15.     "karma-launcher"
  16.   ],
  17.   "author": {
  18.     "name": "Vojta Jina",
  19.     "email": "vojta.jina@gmail.com"
  20.   },
  21.   "dependencies": {},
  22.   "peerDependencies": {
  23.     "karma": ">=0.9"
  24.   },
  25.   "license": "MIT",
  26.   "devDependencies": {
  27.     "grunt": "~0.4.1",
  28.     "grunt-npm": "~0.0.2",
  29.     "grunt-bump": "~0.0.7",
  30.     "grunt-auto-release": "~0.0.2"
  31.   },
  32.   "contributors": [],
  33.   "readme": "# karma-scripts-launcher\n\n> Launcher for a shell script.\n\nThis plugin allows you to use a shell script as a browser launcher. The script has to accept\na single argument - the url that the browser should open.\n\n## Installation\n\n**This plugin ships with Karma by default, so you don't need to install it, it should just work ;-)**\n\nThe easiest way is to keep `karma-scripts-launcher` as a devDependency in your `package.json`.\n```json\n{\n  \"devDependencies\": {\n    \"karma\": \"~0.10\",\n    \"karma-scripts-launcher\": \"~0.1\"\n  }\n}\n```\n\nYou can simple do it by:\n```bash\nnpm install karma-scripts-launcher --save-dev\n```\n\n## Configuration\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    browsers: ['/usr/local/bin/my-custom.sh'],\n  });\n};\n```\n\nYou can pass list of browsers as a CLI argument too:\n```bash\nkarma start --browsers /some/custom/script.sh\n```\n\n----\n\nFor more information on Karma see the [homepage].\n\n\n[homepage]: http://karma-runner.github.com\n",
  34.   "readmeFilename": "README.md",
  35.   "bugs": {
  36.     "url": "https://github.com/karma-runner/karma-script-launcher/issues"
  37.   },
  38.   "_id": "karma-script-launcher@0.1.0",
  39.   "_from": "karma-script-launcher@*"
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement