Skip to content

Commit

Permalink
Added sonar propertie
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-tunerlabs committed Jun 2, 2021
1 parent 4172017 commit 8d1057e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"test": "mocha --timeout 10000",
"start": "node app.js",
"dev": "nodemon app.js"
"dev": "nodemon app.js",
"coverage": " nyc --reporter=lcov mocha --timeout 10000 test --exit"
},
"keywords": [
"shikshalokam",
Expand All @@ -22,6 +23,8 @@
"body-parser": "^1.18.2",
"bunyan": "^1.8.12",
"cache-manager": "^2.9.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"cli-table": "^0.3.1",
"commander": "^2.20.0",
"cookie-parser": "^1.4.3",
Expand All @@ -40,16 +43,18 @@
"glob": "^6.0.4",
"json2csv": "^4.3.1",
"jsonwebtoken": "^8.3.0",
"jwt-decode": "^2.2.0",
"kafka-node": "^4.1.3",
"keycloak-auth-utils": "^3.3.0",
"log": "^1.4.0",
"mathjs": "^5.2.3",
"mkdir": "0.0.2",
"mocha": "^6.2.2",
"moment-timezone": "^0.5.23",
"mongodb": "^3.2.3",
"mongoose": "^5.7.12",
"mongoose-autopopulate": "^0.6.1",
"mongoose-delete": "^0.4.0",
"mongoose-delete": "^0.5.3",
"mongoose-timestamp": "^0.6.0",
"mongoose-ttl": "0.0.3",
"morgan": "^1.9.0",
Expand All @@ -58,11 +63,7 @@
"request": "^2.88.0",
"require-all": "^2.2.0",
"uuid": "^3.3.2",
"yaml-js": "^0.1.3",
"jwt-decode": "^2.2.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"mocha": "^6.2.2"
"yaml-js": "^0.1.3"
},
"devDependencies": {}
}
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectName=ml-survey-service
sonar.language=js
sonar.projectKey=project-sunbird_ml-survey-service
sonar.host.url=https://sonarcloud.io
sonar.exclusions=test/**
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.organization=project-sunbird
sonar.projectVersion=1.0

0 comments on commit 8d1057e

Please sign in to comment.