sonar-scan
v1.0.2
Published
Wrap sonar-scan as a node module
Downloads
180
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 | |----------|-----------------------| | 1.0.0 | 3.1.0.1141 | | 1.0.1 | 4.8.0.2856 | | latest | 6.2.1.4610 |
Installation
This plugin requires JAVA 11 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