4.0.4 • Published 4 years ago

nodejs-sonar-scanner v4.0.4

Weekly downloads
152
License
MIT
Repository
github
Last release
4 years ago

nodejs-sonar-scanner

Wrap SonarQube Scanner as a node module.

Installation

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

npm i nodejs-sonar-scanner --save-dev

Use latest Version

{
  "scripts": {
    "sonar-scanner": "node_modules/nodejs-sonar-scanner/bin/sonar-scanner"
  }
}
npm run sonar-scanner

Use specific Version

{
  "scripts": {
    "sonar-scanner": "node_modules/nodejs-sonar-scanner/bin/sonar-scanner -t 4.2.0.1873"
  }
}
npm run sonar-scanner

Forked from

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