Resolve linter issues, add unit tests, adjust test coverage

This commit is contained in:
2026-02-07 12:24:39 -03:00
parent 430248a4ef
commit 3264b12ea6
45 changed files with 12143 additions and 7918 deletions

View File

@@ -3,11 +3,15 @@
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"dev": "next dev",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"start": "next start",
"lint": "next lint",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"dependencies": {
@@ -15,11 +19,11 @@
"@tabler/icons-react": "^3.23.0",
"@mantine/dropzone": "^7.14.0",
"@mantine/hooks": "^7.14.0",
"next": "^15.0.3",
"next": "^16.1.6",
"pdf-lib": "^1.4.2",
"qr-code-styling": "^1.9.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@testing-library/react": "^16.0.1",
@@ -29,7 +33,7 @@
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^9.15.0",
"eslint-config-next": "^15.0.3",
"eslint-config-next": "^16.1.6",
"eslint-config-prettier": "^9.1.0",
"jsdom": "^25.0.0",
"postcss": "^8.4.49",
@@ -37,6 +41,7 @@
"postcss-preset-env": "^10.0.0",
"typescript": "^5.6.3",
"vitest": "^2.1.6",
"@vitest/coverage-v8": "^2.1.6",
"@vitejs/plugin-react": "^4.3.4"
},
"engines": {