{
  "name": "karma-mocha-reporter",
  "description": "Karma reporter with mocha style logging.",
  "version": "1.3.0",
  "homepage": "http://www.litixsoft.de/modules-karmamochareporter",
  "author": {
    "name": "Litixsoft GmbH",
    "email": "info@litixsoft.de",
    "url": "http://www.litixsoft.de"
  },
  "maintainers": [
    {
      "name": "Timo Liebetrau",
      "email": "t.liebetrau@litixsoft.de"
    },
    {
      "name": "Marco Kannenberg",
      "email": "m.kannenberg@litixsoft.de"
    },
    {
      "name": "Sven Bernstein",
      "email": "s.bernstein@litixsoft.de"
    },
    {
      "name": "Dominic Sachs",
      "email": "d.sachs@litixsoft.de"
    },
    {
      "name": "Thomas Scheibe",
      "email": "th.scheibe@litixsoft.de"
    },
    {
      "name": "Mike Alig",
      "email": "m.alig@litixsoft.de"
    },
    {
      "name": "Joerg Raschke",
      "email": "j.Raschke@litixsoft.de"
    },
    {
      "name": "Andreas Krummsdorf",
      "email": "a.krummsdorf@litixsoft.de"
    }
  ],
  "contributors": [
    {
      "name": "Artem Baguinski",
      "email": "abaguinski@gmail.com"
    },
    {
      "name": "Brendan Nee",
      "email": "brendan@blinktag.com"
    },
    {
      "name": "Túbal Martín"
    },
    {
      "name": "M-Koch"
    },
    {
      "name": "Ryan P Kilby"
    },
    {
      "name": "christian-fei"
    },
    {
      "name": "Clay Anderson"
    },
    {
      "name": "Minh Son Nguyen"
    },
    {
      "name": "Adam Craven"
    }
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/litixsoft/karma-mocha-reporter.git"
  },
  "bugs": {
    "url": "https://github.com/litixsoft/karma-mocha-reporter/issues"
  },
  "keywords": [
    "karma-plugin",
    "karma-reporter",
    "mocha"
  ],
  "license": "MIT",
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/litixsoft/karma-mocha-reporter/blob/master/LICENSE"
    }
  ],
  "main": "index.js",
  "scripts": {
    "test": "grunt test",
    "demo": "grunt demo --force"
  },
  "devDependencies": {
    "chai": "^3.5.0",
    "grunt": "^0.4.5",
    "grunt-contrib-copy": "^1.0.0",
    "grunt-contrib-jshint": "^1.0.0",
    "grunt-karma": "^0.12.1",
    "grunt-shell": "^1.2.1",
    "jasmine-core": "^2.4.1",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "*",
    "karma-detect-browsers": "^2.0.2",
    "karma-firefox-launcher": "*",
    "karma-ie-launcher": "*",
    "karma-jasmine": "^0.3.7",
    "karma-mocha": "^0.2.2",
    "karma-opera-launcher": "*",
    "karma-phantomjs-launcher": "1.0.0",
    "karma-safari-launcher": "*",
    "mocha": "^2.4.5",
    "phantomjs-prebuilt": "^2.1.4"
  },
  "dependencies": {
    "chalk": "1.1.1",
    "karma": ">=0.13"
  },
  "readme": "# karma-mocha-reporter\n\n> Karma reporter plugin with mocha style logging.\n\n> [![NPM version](https://badge.fury.io/js/karma-mocha-reporter.svg)](http://badge.fury.io/js/karma-mocha-reporter)\n[![Build Status](https://secure.travis-ci.org/litixsoft/karma-mocha-reporter.svg?branch=master)](https://travis-ci.org/litixsoft/karma-mocha-reporter)\n[![david-dm](https://david-dm.org/litixsoft/karma-mocha-reporter.svg?theme=shields.io)](https://david-dm.org/litixsoft/karma-mocha-reporter/)\n[![david-dm](https://david-dm.org/litixsoft/karma-mocha-reporter/dev-status.svg?theme=shields.io)](https://david-dm.org/litixsoft/karma-mocha-reporter#info=devDependencies&view=table)\n\n## How does it look like\n![screenshot](demo/screen.png)\n\n## Installation\nThe easiest way is to keep `karma-mocha-reporter` as a devDependency in your `package.json`.\n```json\n{\n  \"devDependencies\": {\n    \"karma\": \"^0.13\",\n    \"karma-mocha-reporter\": \"^1.1.6\"\n  }\n}\n```\n\nYou can simple do it by:\n\n    $ npm install karma-mocha-reporter --save-dev\n\n## Configuration\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine'],\n\n    // reporters configuration\n    reporters: ['mocha'],\n\n    plugins: [\n      'karma-jasmine',\n      'karma-mocha-reporter'\n    ]\n  });\n};\n```\n\n## Options\n### colors\n**Type:** Object\n\nLet's you overwrite the default colors. Possible values are all colors and background colors from [chalk](https://github.com/chalk/chalk#colors).\n\n**Possible Values:**\n\nValue | Description | Default\n------ | ----------- | -------\n`success` | success messages | green\n`info` | info messages | grey\n`warning` | warn messages | yellow\n`error` | error messages | red\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine'],\n\n    // reporters configuration\n    reporters: ['mocha'],\n\n    // reporter options\n    mochaReporter: {\n      colors: {\n        success: 'blue',\n        info: 'bgGreen',\n        warning: 'cyan',\n        error: 'bgRed'\n      }\n    },\n\n    plugins: [\n      'karma-jasmine',\n      'karma-mocha-reporter'\n    ]\n  });\n};\n```\n\n### output\n**Type:** String\n\n**Possible Values:**\n\nValue | Description\n------ | -----------\n`full` (default) | all output is printed to the console\n`autowatch` | first run will have the full output and the next runs just output the summary and errors in mocha style\n`minimal` | only the summary and errors are printed to the console in mocha style\n`noFailures` | the failure details are not logged\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine'],\n\n    // reporters configuration\n    reporters: ['mocha'],\n\n    // reporter options\n    mochaReporter: {\n      output: 'autowatch'\n    },\n\n    plugins: [\n      'karma-jasmine',\n      'karma-mocha-reporter'\n    ]\n  });\n};\n```\n\n### showDiff\n**Type:** String | Boolean\n\nShows a diff output. Is disabled by default. All credits to the contributors of [mocha](https://github.com/mochajs/mocha), since the diff logic is used from there and customized for this module.\n\n![screenshot](demo/diff.png)\n\nCurrently only works with karma-mocha >= v0.2.2 Not supported for karma-jasmine since the additional properties needed to render the diff are not supported in jasmine yet.\n\n**Possible Values:**\n\nValue | Description\n------ | -----------\n`true` | prints each diff in its own line, same as `'unified'`\n`'unified'` | prints each diff in its own line\n`'inline'` | prints diffs inline\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['mocha', 'chai'],\n\n    // reporters configuration\n    reporters: ['mocha'],\n\n    // reporter options\n    mochaReporter: {\n      showDiff: true\n    },\n\n    plugins: [\n      'karma-chai',\n      'karma-mocha',\n      'karma-mocha-reporter'\n    ]\n  });\n};\n```\n\n### divider\n**Type:** String\n\n**Default:** 80 equals signs ('=')\n\nThe string to output between multiple test runs. Set to empty string to disable\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine'],\n\n    // reporters configuration\n    reporters: ['mocha'],\n\n    // reporter options\n    mochaReporter: {\n      divider: ''\n    },\n\n    plugins: [\n      'karma-jasmine',\n      'karma-mocha-reporter'\n    ]\n  });\n};\n```\n\n### ignoreSkipped\n**Type:** Boolean\n\n**Possible Values:**\n  * `false` (default)\n  * `true`\n\nWhen setting the ignoreSkipped flag to true, the reporter will ignore the skipped tests in the output and you will see\nonly the tests that where really executed. The summary will still contain the number of skipped tests.\n\n\n## Contributing\nIn lieu of a formal styleguide take care to maintain the existing coding style. Lint and test your code using [grunt](http://gruntjs.com/).\n\nYou can preview your changes by running:\n\n    $ npm run demo\n\n## Release History\n### v1.3.0\n* Wait before printing output of a test after all browser have run the test\n\n### v1.2.3\n* Set property success to `true` when a test is skipped. Prevents wrong output in the failure summary\n\n### v1.2.2\n* Update error message when diff output is enabled and the required modules are missing\n\n### v1.2.1\n* Check if property `assertionErrors` has at least one item before calculating the diff output\n\n### v1.2.0\n* Add support for diff output for failed tests\n\n### v1.1.6\n* Fix error that reporter output was truncated when running multiple browsers\n* Reverts part of the fix from v1.1.4 (identical it blocks within the same describe block are only printed correctly when the test are run in one browser)\n\n### v1.1.5\n* Show error message when the karma runner ends with an error\n\n### v1.1.4\n* Print specs correctly when names of it blocks are identical within the same describe block\n\n### v1.1.3\n* Fix for divider is always \"=\" even the user set divider in config\n\n### v1.1.2\n* Show a divider line between multiple test runs for clarity\n\n### v1.1.1\n* Use overwritten colors also for the log symbols\n\n### v1.1.0\n* Add option `colors` to config that allows to overwrite the default colors\n\n### v1.0.4\n* Added plural or singular noun for 'test' based on count\n\n### v1.0.3\n* Changed some formatting to not start at newline\n\n### v1.0.2\n* enable colors when karma is piped\n\n### v1.0.1\n* print out all errors in the summary when spec fails\n\n### v1.0.0\n* add output option `noFailures` -  when set, the failure details are not logged\n* time to get final with 1.0.0 :-)\n\n### v0.3.2\n* strip color from symbols when colors is set to false\n\n### v0.3.1\n* add option \"ignoreSkipped\" to ignore the skipped test in the output\n\n### v0.3.0\n* add option \"output\" to set the output level of the reporter\n\n### v0.2.8\n* add module log-symbols for printing symbols to the console\n\n### v0.2.7\n* report totalTime and netTime the same way \"dots\" and \"progress\" reporters do\n\n### v0.2.6\n* don't crash when the name of the describe or it block is a reserved object property (e.g. constructor, toString)\n\n### v0.2.5\n* results summary is now also printed when all tests fail\n\n### v0.2.4\n* better browser names formatting\n* fix calculating describe items' success\n* use karma's error formatter\n\n### v0.2.3\n* fix missing test results when singleRun = true\n\n### v0.2.2\n* fix that skipped test where reported as failure\n\n### v0.2.1\n* make reporter compatible with karma 0.11\n\n### v0.2.0\n* replace dependency color.js with chalk.js\n\n### v0.1.0\n* first release\n\n## Author\n[Litixsoft GmbH](http://www.litixsoft.de)\n\n## License\nCopyright (C) 2013-2015 Litixsoft GmbH <info@litixsoft.de>\nLicensed under the MIT license.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included i\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.",
  "readmeFilename": "README.md",
  "_id": "karma-mocha-reporter@1.3.0",
  "dist": {
    "shasum": "547dc0120fc2d3f8279a3398696afca433f54f5b"
  },
  "_from": "karma-mocha-reporter@^1.0.2",
  "_resolved": "https://registry.npmjs.org/karma-mocha-reporter/-/karma-mocha-reporter-1.3.0.tgz"
}
