# karma-steal-npm

> karma plugin for stealjs and npm

Latest version **0.1.5** (published 2016-10-24) · 0 weekly downloads

## Install

```sh
npm install karma-steal-npm
pnpm add karma-steal-npm
yarn add karma-steal-npm
bun add karma-steal-npm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2016-10-24 |
| First published | 2016-01-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=5.0.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | "coolchem" Varun Reddy Nalagatla |
| Maintainers | coolchem |
| Keywords | karma-plugin, karma-adapter, stealjs |

## Links

- npm: https://www.npmjs.com/package/karma-steal-npm
- Repository: https://github.com/coolchem/karma-steal-npm
- Homepage: https://github.com/coolchem/karma-steal-npm#readme
- Issues: https://github.com/coolchem/karma-steal-npm/issues
- npm.io page: https://npm.io/package/karma-steal-npm

## Dependencies (2)

- [glob](https://npm.io/package/glob.md) ^6.0.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.26.4

## Recent versions

- 0.1.5 (latest) — 2016-10-24
- 0.1.4 — 2016-01-21
- 0.1.3 — 2016-01-14
- 0.1.2 — 2016-01-14
- 0.1.1 — 2016-01-14
- 0.1.0 — 2016-01-14

## README

# karma-steal-npm

Plugin for Karma runnner and stealjs to be used with npm


### Install

````
npm install --save-dev karma-steal-npm
````

### Usage in Karma.conf.js file

All files and test files must be configured in the 'steal' property as shown in the below sample


##### sample file

````
module.exports = function(config) {
    config.set({
        basePath: '',
        autoWatch: false,

        singleRun: false,
        frameworks: ['jasmine','steal-npm'],

        steal:{
          files:['src/**/*.js',"test/**/*.js.map","src/**/*.js.map"],
          testFiles:['test/**/*.js']
        },

        reporters: ['kjhtml','coverage'],
        preprocessors: {
            // source files, that you wanna generate coverage for
            // do not include tests or libraries
            // (these files will be instrumented by Istanbul)
            'src/**/*.js': ['coverage']
        },

        "browsers":['Chrome'],
        coverageReporter: {
            dir : 'coverage/',
            reporters: [
                { type: 'html', subdir: 'html' },
                { type: 'lcovonly', subdir: 'lcov' },
                { type: 'cobertura', subdir: 'cobertura' }
            ]
        }
    });
};
````

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