blob: 62fc8f1ca022bb8cfc023fe6e44cd311f0526985 [file] [log] [blame]
{
"name": "karma-mocha",
"version": "0.1.9",
"description": "A Karma plugin. Adapter for Mocha testing framework.",
"main": "lib/index.js",
"sharedKarmaFiles": {
"editorconfig": ".editorconfig",
"gitattributes": ".gitattributes",
"jshint.json": ".jshintrc",
"jscs.json": ".jscs.json"
},
"scripts": {
"test": "grunt test"
},
"repository": {
"type": "git",
"url": "git://github.com/karma-runner/karma-mocha.git"
},
"keywords": [
"karma-plugin",
"karma-adapter",
"mocha"
],
"author": {
"name": "Vojta Jina",
"email": "vojta.jina@gmail.com"
},
"dependencies": {},
"devDependencies": {
"grunt": "~0.4",
"grunt-auto-release": "~0.0.2",
"grunt-bump": "~0.0.7",
"grunt-contrib-jshint": "~0.10",
"grunt-jscs-checker": "~0.4.4",
"grunt-karma": "~0.8.0",
"grunt-npm": "~0.0.2",
"karma": "~0.12.0",
"karma-chai": "~0.1.0",
"karma-chrome-launcher": "~0.1.0",
"karma-firefox-launcher": "~0.1.0",
"karma-mocha": "~0.1.3",
"karma-sinon": "~1.0.3",
"shared-karma-files": "git://github.com/karma-runner/shared-karma-files.git#82ae8d02"
},
"peerDependencies": {
"karma": ">=0.12.8",
"mocha": "*"
},
"license": "MIT",
"contributors": [
{
"name": "Maksim Ryzhikov",
"email": "rv.maksim@gmail.com"
},
{
"name": "Jordan Klassen",
"email": "jordan@vidigami.com"
},
{
"name": "Friedel Ziegelmayer",
"email": "friedel.ziegelmayer@gmail.com"
},
{
"name": "Martin Hansen",
"email": "martin@martinhansen.no"
},
{
"name": "Dave Geddes",
"email": "davidcgeddes@gmail.com"
},
{
"name": "Lukasz Bandzarewicz",
"email": "lucassus@gmail.com"
},
{
"name": "Pawel Kozlowski",
"email": "pkozlowski.opensource@gmail.com"
},
{
"name": "Aymeric Beaumet",
"email": "aymeric@beaumet.me"
},
{
"name": "Ciro S. Costa",
"email": "ciro.costa@usp.br"
},
{
"name": "Friedel Ziegelmayer",
"email": "dignifiedquire@gmail.com"
},
{
"name": "JONATHAN PARK",
"email": "jonathan@silvenstudios.com"
},
{
"name": "Jeff Jagoda",
"email": "jeffrey.jagoda@gmail.com"
},
{
"name": "Karolis Narkevicius",
"email": "karolis.n@gmail.com"
},
{
"name": "Sahat Yalkabov",
"email": "sakhat@gmail.com"
}
],
"readme": "# karma-mocha [![Build Status](https://travis-ci.org/karma-runner/karma-mocha.svg?branch=master)](https://travis-ci.org/karma-runner/karma-mocha)\n\n> Adapter for the [Mocha](http://visionmedia.github.io/mocha/) testing framework.\n\n## Installation\n\nThe easiest way is to keep `karma-mocha` as a devDependency in your `package.json`.\n```json\n{\n \"devDependencies\": {\n \"karma-mocha\": \"~0.1\"\n }\n}\n```\n\nYou can simple do it by:\n```bash\nnpm install karma-mocha --save-dev\n```\n\nHow install `karma` you can read [here.](http://karma-runner.github.io/0.12/intro/installation.html)\n\n## Configuration\nFollowing code shows the default configuration...\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n config.set({\n frameworks: ['mocha'],\n\n files: [\n '*.js'\n ]\n });\n};\n```\n\nIf you want to pass configuration options directly to mocha you can\ndo this in the following way\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n config.set({\n frameworks: ['mocha'],\n\n files: [\n '*.js'\n ],\n\n client: {\n mocha: {\n ui: 'tdd'\n }\n }\n });\n};\n```\n\nIf you want run only some tests matching a given pattern you can\ndo this in the following way\n\n```sh\nkarma start &\nkarma run -- --grep=<pattern>\n```\n\nor\n\n```js\nmodule.exports = function(config) {\n config.set({\n ...\n client: {\n args: ['--grep', '<pattern>'],\n ...\n }\n });\n};\n```\n\n`--grep` argument pass directly to mocha\n\n\n----\n\nFor more information on Karma see the [homepage].\n\n\n[homepage]: http://karma-runner.github.com\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/karma-runner/karma-mocha/issues"
},
"homepage": "https://github.com/karma-runner/karma-mocha",
"_id": "karma-mocha@0.1.9",
"_from": "karma-mocha@0.1.9"
}