-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
37 lines (37 loc) · 889 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "sonar",
"version": "1.0.0",
"description": "sonarqube integration with tests and coverage",
"main": "index.js",
"scripts": {
"test": "node runtests.js --ci --coverage && sonar-scanner",
"sonar-scanner": "node node_modules/sonar-scanner/bin/sonar-scanner"
},
"author": "steve Tomlin",
"license": "ISC",
"devDependencies": {
"jest": "^22.4.3",
"jest-sonar-reporter": "^2.0.0"
},
"jest": {
"testResultsProcessor": "jest-sonar-reporter",
"collectCoverageFrom": [
"<rootDir>/src",
"**/*.{js,jsx}",
"!**/node_modules/**",
"!**/vendor/**",
"!**/sonarqube-7.1/**",
"!**/coverage/**"
]
},
"jestSonar": {
"reportPath": "reports",
"reportFile": "test-reporter.xml",
"indent": 4,
"sonar56x": true
},
"dependencies": {
"minimist": "^1.2.0",
"sonar-scanner": "^3.1.0"
}
}