JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5547
  • Score
    100M100P100Q165007F
  • License MIT

Wrap sonar-scan as a node module

Package Exports

  • sonar-scan
  • sonar-scan/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sonar-scan) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sonar-scan

Wrap SonarQube Scanner as a node module.

I have teste also on Angular, React & Vue.js projects

Versions

version sonar-scanner-cli JAVA
1.0.8 8.0.1.6346 17
1.0.7 8.0.0.6341 17
1.0.6 7.3.0.5189 11
1.0.5 7.2.0.5079 11

Installation

This plugin requires JAVA 17 or later installed

You can install sonar-scan as a development dependency and add it as a script property in your package.json.

npm i sonar-scan --save-dev

Node:

{
  "scripts": {
    "sonar-scan": "node_modules/sonar-scan/bin/sonar-scanner"
  }
}

Angular, React & Vue.js projects:

{
  "scripts": {
    "sonar-scan": "sonar-scanner"
  }
}
npm run sonar-scan

Forked from

https://github.com/bcaudan/node-sonar-scanner

This library is not updated for a few years but we need & support it