https://github.com/Byndyusoft/node-sonar-coverage-reporter
SonarQube coverage reporter for Istanbul
https://github.com/Byndyusoft/node-sonar-coverage-reporter
coverage-report istanbul jest nodejs sonarqube typescript
Last synced: 5 months ago
JSON representation
SonarQube coverage reporter for Istanbul
- Host: GitHub
- URL: https://github.com/Byndyusoft/node-sonar-coverage-reporter
- Owner: Byndyusoft
- License: apache-2.0
- Created: 2022-01-23T05:21:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T21:07:46.000Z (about 2 years ago)
- Last Synced: 2024-11-09T04:39:54.381Z (6 months ago)
- Topics: coverage-report, istanbul, jest, nodejs, sonarqube, typescript
- Language: TypeScript
- Homepage:
- Size: 649 KB
- Stars: 3
- Watchers: 12
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-sonar-coverage-reporter
[](https://www.npmjs.com/package/@byndyusoft/sonar-coverage-reporter)
[](https://github.com/Byndyusoft/node-sonar-coverage-reporter/actions/workflows/test.yaml)
[](https://github.com/prettier/prettier)
[](https://github.com/semantic-release/semantic-release)SonarQube coverage reporter for Istanbul
## Requirements
- Node.js v14 LTS or later
- npm or yarn## Install
```bash
npm install --save-dev @byndyusoft/sonar-coverage-reporter
```or
```bash
yarn add --dev @byndyusoft/sonar-coverage-reporter
```## Usage
Add coverage reporter to your Jest configuration:
```json
{ "coverageReporters": ["@byndyusoft/sonar-coverage-reporter"] }
```With [options](./src/sonarCoverageReporterOptionsInterface.ts):
```json
{
"coverageReporters": [
["@byndyusoft/sonar-coverage-reporter", { "threshold": 100 }]
]
}
```## Maintainers
- [@Byndyusoft/owners](https://github.com/orgs/Byndyusoft/teams/owners) <>
- [@Byndyusoft/team](https://github.com/orgs/Byndyusoft/teams/team)
- [@KillWolfVlad](https://github.com/KillWolfVlad)## License
This repository is released under version 2.0 of the
[Apache License](https://www.apache.org/licenses/LICENSE-2.0).