nodejs-sonar-scanner
v4.0.4
Published
Wrap sonar-scanner as a node module
Downloads
1,140
Readme
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