Wire up tests & sonarcloud

This commit is contained in:
Michael Telatynski
2025-01-30 10:58:23 +00:00
parent 06fcf783a1
commit 0a2f311cc8
3 changed files with 48 additions and 2 deletions
+6 -2
View File
@@ -19,7 +19,8 @@
],
"scripts": {
"prepare": "vite build && api-extractor run",
"lint:ts": "tsc --noEmit"
"lint:ts": "tsc --noEmit",
"test": "vitest"
},
"devDependencies": {
"@matrix-org/react-sdk-module-api": "^2.5.0",
@@ -27,11 +28,14 @@
"@types/node": "^22.10.7",
"@types/react": "^18",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^3.0.4",
"matrix-web-i18n": "^3.3.0",
"semver": "^7.6.3",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite-plugin-dts": "^4.5.0"
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.0.4",
"vitest-sonar-reporter": "^2.0.0"
},
"peerDependencies": {
"@matrix-org/react-sdk-module-api": "*",