forked from BBE78/cypress-sonarqube-reporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.59 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "cypress-sonarqube-reporter",
"version": "1.12.0",
"description": "A SonarQube XML reporter for Cypress",
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"test": "yarn clean && jest --silent",
"test:c": "yarn test --coverage=true",
"lint": "eslint --format json --output-file dist/reports/eslint-report.json src/** test/specs/**",
"lint-md": "remark *.md example/*.md .github/**/*.md",
"sonar": "sonar-scanner -Dsonar.sourceEncoding=utf-8 -Dsonar.sources=src -Dsonar.tests=test -Dsonar.javascript.lcov.reportPaths=dist/reports/coverage/lcov.info -Dsonar.eslint.reportPaths=dist/reports/eslint-report.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BBE78/cypress-sonarqube-reporter.git"
},
"keywords": [
"cypress",
"sonarqube",
"reporter",
"mocha"
],
"author": "Benoît Berthonneau",
"license": "MIT",
"bugs": {
"url": "https://github.com/BBE78/cypress-sonarqube-reporter/issues"
},
"homepage": "https://github.com/BBE78/cypress-sonarqube-reporter#readme",
"dependencies": {
"chalk": "^4.1.2",
"fast-xml-parser": "^3.21.1",
"fs-extra": "^10.0.0",
"mocha": "^9.1.3",
"readdirp": "^3.6.0",
"xmlbuilder": "^15.1.1"
},
"devDependencies": {
"cypress-multi-reporters": "^1.5.0",
"eslint": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-jest": "^25.3.0",
"jest": "^27.4.3",
"jest-extended": "^1.2.0",
"jest-html-reporters": "^2.1.6",
"mochawesome": "^7.0.1",
"remark-cli": "^10.0.1",
"remark-preset-lint-recommended": "^6.1.2",
"rimraf": "^3.0.2",
"sonarqube-scanner": "^2.8.1"
},
"peerDependencies": {
"cypress": "^4 || ^5 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12"
},
"jest": {
"collectCoverageFrom": [
"index.js",
"mergeReports.js",
"specTitle.js",
"src/**/*.js"
],
"coverageDirectory": "dist/reports/coverage",
"coverageReporters": [
"lcovonly",
"html"
],
"setupFilesAfterEnv": [
"jest-extended/all"
],
"testMatch": [
"**/test/specs/**/?(*.)+(spec|test).[jt]s?(x)"
],
"reporters": [
"default",
[
"jest-html-reporters",
{
"publicPath": "dist/reports/jest",
"filename": "jest-report.html"
}
]
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:jest/recommended"
],
"plugins": [
"cypress",
"jest"
],
"env": {
"es2021": true,
"cypress/globals": true,
"jest/globals": true,
"node": true
},
"globals": {
"cy": "readonly"
},
"rules": {
"quotes": [
"error",
"single"
]
}
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended",
[
"no-file-name-irregular-characters",
false
],
[
"no-heading-punctuation",
false
],
[
"table-pipe-alignment",
false
]
]
}
}