ci: Setup code-coverage reporting for frontend packages (no-changelog) (#5679)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-14 13:13:21 +01:00
committed by GitHub
parent a96861b87f
commit eb3ba83e63
7 changed files with 104 additions and 42 deletions

View File

@@ -22,8 +22,7 @@
"lintfix": "eslint --ext .js,.ts,.vue src --fix",
"format": "prettier --write . --ignore-path ../../.prettierignore",
"serve": "cross-env VUE_APP_URL_BASE_API=http://localhost:5678/ vite --host 0.0.0.0 --port 8080 dev",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test": "vitest run --coverage",
"test:dev": "vitest"
},
"dependencies": {
@@ -99,6 +98,7 @@
"@types/lodash.set": "^4.3.6",
"@types/luxon": "^2.0.9",
"@types/uuid": "^8.3.2",
"@vitest/coverage-c8": "^0.28.5",
"@vitejs/plugin-legacy": "^3.0.1",
"@vitejs/plugin-vue2": "^2.2.0",
"c8": "^7.12.0",
@@ -109,7 +109,7 @@
"string-template-parser": "^1.2.6",
"vite": "4.0.4",
"vite-plugin-monaco-editor": "^1.0.10",
"vitest": "^0.28.4",
"vitest": "^0.28.5",
"vue-tsc": "^1.0.24"
}
}