# run-jst-codeclimate

> CodeClimate run-jst component

Latest version **1.3.0** (published 2017-06-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install run-jst-codeclimate
pnpm add run-jst-codeclimate
yarn add run-jst-codeclimate
bun add run-jst-codeclimate
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2017-06-27 |
| First published | 2017-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0 <7.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Mitoc Group |
| Maintainers | mitocgroup |
| Keywords | Testing, Unit, Development, Tools, CodeClimate, lcov, Coverage, Travis |

## Links

- npm: https://www.npmjs.com/package/run-jst-codeclimate
- Repository: https://github.com/MitocGroup/run-jst
- Issues: https://github.com/MitocGroup/run-jst/issues
- npm.io page: https://npm.io/package/run-jst-codeclimate

## Dependencies (3)

- [pify](https://npm.io/package/pify.md) ^3.0.0
- [request](https://npm.io/package/request.md) ^2.81.0
- [codeclimate-test-reporter](https://npm.io/package/codeclimate-test-reporter.md) github:codeclimate/javascript-test-reporter

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.3.0 (latest) — 2017-06-27
- 1.2.4 — 2017-06-22
- 1.2.3 — 2017-06-22
- 1.2.2 — 2017-06-21
- 1.2.1 — 2017-06-21
- 1.2.0 — 2017-06-21
- 1.1.0 — 2017-06-20

## README

CodeClimate Component
======================

This is a [run-jst](https://github.com/MitocGroup/run-jst) component that submit 
coverage information into [CodeClimate](https://codeclimate.com) backend.

# Prerequisites

- [ ] Ensure `Node.js >=v6.x` is installed (We recommend using `nvm` https://github.com/creationix/nvm#installation)
- [ ] [Install "run-jst"](https://github.com/MitocGroup/run-jst#installation)
- [ ] Profit?!

# Installation

- `npm install -g run-jst-codeclimate`

# Configuration

`.jst.yml` configuration:

```
$:
  preprocess:
    '$.codeclimate.token': 'eval'
  codeclimate:
    token: 'process.env.JST_CODECLIMATE_REPO_TOKEN'     # CodeClimate Repo token
    # skip-certificate: true                            # Skip validating server SSL certificate
```

`.travis.yml` configuration:

```
script: 'jst run unit -c run-jst-codeclimate'  
before_install:
  # other before_install scripts...
  - 'npm install -g run-jst-codeclimate'
```

Add the [CodeClimate Repo Token](https://docs.codeclimate.com/v1.0/docs/test-coverage-troubleshooting-tips#section--should-i-keep-my-test-coverage-token-secret-) to `.travis.yml`:

```
jst travis encrypt -x 'JST_CODECLIMATE_REPO_TOKEN=1234'
```

> If you are using [Travis Pro](https://travis-ci.com/) [read this guide](https://github.com/MitocGroup/run-jst/blob/master/docs/guide.md#configuring-github-project) to properly encrypt the environment variable

# Usage

```
JST_CODECLIMATE_REPO_TOKEN=1234 jst run unit -c run-jst-codeclimate
```

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