# zkflow-task-karma

> Karma task in zkflow format

Latest version **2.0.0** (published 2016-04-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install zkflow-task-karma
pnpm add zkflow-task-karma
yarn add zkflow-task-karma
bun add zkflow-task-karma
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2016-04-29 |
| First published | 2016-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Piotr Baranowski |
| Maintainers | bolo |
| Keywords | gulp, zkflow, task, karma |

## Links

- npm: https://www.npmjs.com/package/zkflow-task-karma
- Repository: https://github.com/zaklinaczekodu/zkflow-task-karma
- Issues: https://github.com/zaklinaczekodu/zkflow-task-karma/issues
- npm.io page: https://npm.io/package/zkflow-task-karma

## Dependencies (14)

- [q](https://npm.io/package/q.md) 1.4.1
- [karma](https://npm.io/package/karma.md) 0.13.22
- [watchify](https://npm.io/package/watchify.md) 3.7.0
- [browserify](https://npm.io/package/browserify.md) 13.0.0
- [gulp-watch](https://npm.io/package/gulp-watch.md) 4.3.5
- [jasmine-core](https://npm.io/package/jasmine-core.md) 2.4.1
- [karma-jasmine](https://npm.io/package/karma-jasmine.md) 0.3.8
- [karma-coverage](https://npm.io/package/karma-coverage.md) 0.5.5
- [karma-browserify](https://npm.io/package/karma-browserify.md) 5.0.4
- [gulp-zkflow-utils](https://npm.io/package/gulp-zkflow-utils.md) 0.5.0
- [browserify-istanbul](https://npm.io/package/browserify-istanbul.md) 2.0.0
- [zkflow-next-handler](https://npm.io/package/zkflow-next-handler.md) 1.0.0
- [karma-junit-reporter](https://npm.io/package/karma-junit-reporter.md) 0.4.2
- [karma-chrome-launcher](https://npm.io/package/karma-chrome-launcher.md) 0.2.3

## Recent versions

- 2.0.0 (latest) — 2016-04-29
- 1.0.1 — 2016-01-29
- 1.0.0 — 2016-01-28

## README

# ZKflow task karma

Karma task in [ZKflow](https://github.com/zaklinaczekodu/zkflow) format

[<img alt="Made by Zaklinacze Kodu" src="http://zaklinaczekodu.com/_assets/madeBy.svg" width="200">](http://zaklinaczekodu.com)

[Facebook](https://www.facebook.com/zaklinaczekodu)

Shields
-------

[![npm](https://img.shields.io/npm/v/zkflow-task-karma.svg?style=flat-square)](https://www.npmjs.com/package/zkflow-task-karma)
[![npm](https://img.shields.io/npm/l/zkflow-task-karma.svg?style=flat-square)](https://www.npmjs.com/package/zkflow-task-karma)
[![npm](https://img.shields.io/npm/dm/zkflow-task-karma.svg?style=flat-square)](https://www.npmjs.com/package/zkflow-task-karma)
[![Travis](https://img.shields.io/travis/zaklinaczekodu/zkflow-task-karma/master.svg?style=flat-square)](https://travis-ci.org/zaklinaczekodu/zkflow-task-karma)<br>
[![bitHound Overall Score](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma/badges/score.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma)
[![bitHound Dependencies](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma/badges/dependencies.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma/master/dependencies/npm)
[![bitHound Dev Dependencies](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma/badges/devDependencies.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma/badges/code.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-karma)<br>
[![GitHub forks](https://img.shields.io/github/forks/zaklinaczekodu/zkflow-task-karma.svg?style=flat-square)](https://github.com/zaklinaczekodu/zkflow-task-karma)
[![GitHub stars](https://img.shields.io/github/stars/zaklinaczekodu/zkflow-task-karma.svg?style=flat-square)](https://github.com/zaklinaczekodu/zkflow-task-karma)
[![GitHub watchers](https://img.shields.io/github/watchers/zaklinaczekodu/zkflow-task-karma.svg?style=flat-square)](https://github.com/zaklinaczekodu/zkflow-task-karma)

Installation
------------

```bash
npm install --save zkflow-task-karma zkflow gulp
```

Example
-------

ZKflow taks karma is used in [ZKflow for Angular](https://github.com/zaklinaczekodu/zkflow-angular)

Usage
-----

gulpfile.js

```javaScript
require('zkflow')({
  js: {
    task: require('zkflow-task-karma')
  }
}, require('gulp'), mode)
```

### mode

Mode object. Determines task mode of operation.

```javaScript
{
  // If true rerun all tests on any js file changes. Do not stop on errors.
  // skip coverage and junit
  // If false run only once and stop on any error
  // generate coverage and junit
  watch: true 
}
```

Default options
---------------

```javaScript
{
  files: [
    'src/*Spec.js',
    'src/**/*Spec.js'
  ],
  logLevel: 'warn',
  frameworks: ['jasmine', 'browserify'],
  browserNoActivityTimeout: 120000,
  preprocessors: {
    'src/**': ['browserify']
  },
  browsers: ['Chrome'],
  reporters: ['progress'],
  plugins: [],
  reportsBaseDir: 'reports/test/',
  junitReporterOutputDir: 'junit/',
  htmlReporterOutputDir: 'html/',
  istanbulIgnore: [
    '**/node_modules/**',
    '**/bower_components/**',
    '*Spec.js',
    '**/*Spec.js'
  ],
  istanbulReporters: [{
    type: 'html',
    subdir: 'coverageHtml'
  }, {
    type: 'clover',
    subdir: 'coverageClover'
  }],
  browserifyTransforms: []
}
```

Sponsors
--------

[<img alt="Street Team" src="http://zaklinaczekodu.com/_assets/streetteam.svg" width="200">](http://getstreetteam.com)

[<img alt="Zaklinacze Kodu" src="http://zaklinaczekodu.com/_assets/logo.svg" width="200">](http://zaklinaczekodu.com)

---
_Source: https://npm.io/package/zkflow-task-karma · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
