8431920d26
- Backend: pytest with unit tests (auth, rbac, config) and integration tests (auth flow, docker, files) - Frontend: vitest with unit tests (api client) and component tests (login) - CI: Gitea Actions workflow for automated testing with coverage reports - Documentation: TESTING.md guide with setup, usage, and best practices - Coverage goals: 80%+ backend, 70%+ frontend
29 lines
648 B
JSON
29 lines
648 B
JSON
{
|
|
"name": "nas-dashboard",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest --coverage"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^6.2.0",
|
|
"@testing-library/svelte": "^5.2.3",
|
|
"@vitest/coverage-v8": "^2.1.8",
|
|
"jsdom": "^25.0.1",
|
|
"svelte": "^5.0.0",
|
|
"vite": "^6.3.0",
|
|
"vitest": "^2.1.8",
|
|
"tailwindcss": "^4.0.0",
|
|
"@tailwindcss/vite": "^4.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@xterm/xterm": "^5.5.0",
|
|
"@xterm/addon-fit": "^0.10.0"
|
|
}
|
|
}
|