diff --git a/goofy-client/package.json b/goofy-client/package.json index 0eccd787840c4f816483f44c73406bbaa626d8fc..27ef59ae7c26fb50a1d66ef7825b430b2aacc305 100644 --- a/goofy-client/package.json +++ b/goofy-client/package.json @@ -16,7 +16,7 @@ "ci-build": "nx build --outputHashing=all", "ci-prodBuild": "nx build --outputHashing=all --configuration production", "ci-test": "node ./node_modules/.bin/nx run-many --target=test --all --parallel --maxParallel 2 --runInBand --ci --testResultsProcessor='jest-sonar-reporter' --coverage", - "ci-sonar": "sonar-scanner", + "ci-sonar": "npm run sonar-scanner", "lint": "nx workspace-lint && nx lint", "affected:apps": "nx affected:apps", "affected:libs": "nx affected:libs", @@ -40,7 +40,7 @@ "cypress:install": "npx cypress install", "cypress:open": "npx cypress open --project apps/goofy-e2e", "workspace-generator": "nx workspace-generator", - "sonar-scanner": "npm test -- --testResultsProcessor='jest-sonar-reporter' && sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=364c6e09430714838730a83f55d3369a7ffda0e9" + "sonar-scanner": "npm run ci-test && npx sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=sqp_e7178a88b40b1058facaf080fad6bef746737d5e" }, "private": true, "dependencies": {