-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 4.79 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 4.79 KB
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
{
"name": "centrum-logowania-app",
"version": "2.12.0",
"private": true,
"scripts": {
"predev": "git pull --rebase origin main || echo 'Nie udało się pobrać zmian - kontynuuję...'",
"dev": "next dev",
"build": "next build",
"start": "next start",
"prepare": "husky",
"// --- 🔍 CHECKS (Jakość kodu) ---": "",
"check:types": "tsc --noEmit",
"check:format": "prettier --check .",
"check:lint": "eslint .",
"check:all": "npm run check:types && npm run check:format && npm run check:lint",
"// --- 🛠️ FIXING (Automatyczna naprawa) ---": "",
"fix:format": "prettier --write .",
"fix:lint": "eslint . --fix",
"fix:all": "npm run fix:format && npm run fix:lint",
"// --- 🧪 TESTING (Testy) ---": "",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest run --coverage",
"test:coverage:report": "vitest run --coverage && open coverage/index.html",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "DEBUG=pw:api playwright test --headed --workers=1",
"test:integration": "vitest run --dir tests/integration",
"// --- 👁️ VISUAL TESTING (Regresja wizualna) ---": "",
"// test:visual:local → Porównaj UI z baseline (wykryj regresje)": "",
"// test:visual:generate → Zaktualizuj snapshoty po zamierzonych zmianach": "",
"// test:visual:report → Otwórz raport różnic (diff images)": "",
"test:visual": "percy exec -- playwright test --config=playwright.visual.config.ts",
"test:visual:local": "playwright test tests/visual --config=playwright.visual.config.ts",
"test:visual:generate": "playwright test tests/visual --config=playwright.visual.config.ts --update-snapshots",
"test:visual:report": "playwright show-report",
"test:mutation": "stryker run",
"test:mutation:report": "stryker run && open reports/mutation/html/index.html",
"test:all": "npm run test && npm run test:integration && npm run test:e2e",
"// --- 🚀 DEMOS (Przykłady integracji) ---": "",
"demo:server": "tsx examples/server-integration/server.ts",
"dev:demo": "concurrently \"npm run dev\" \"npm run demo:server\"",
"// --- ✅ VALIDATION (Pełna weryfikacja) ---": "",
"validate": "npm run check:all && npm run test:all && npm run build",
"// --- ↩️ ALIASES (Kompatybilność) ---": "",
"lint": "npm run check:lint",
"lint:fix": "npm run fix:lint",
"format": "npm run fix:format",
"format:check": "npm run check:format",
"typecheck": "npm run check:types",
"test:unit": "npm run test"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.11.1",
"@hookform/resolvers": "^5.2.2",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dotenv": "^17.2.3",
"drizzle-orm": "^0.45.1",
"lucide-react": "^0.562.0",
"nanoid": "^5.1.6",
"next": "16.1.1",
"next-auth": "^5.0.0-beta.30",
"next-themes": "^0.4.6",
"pg": "^8.16.3",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-hook-form": "^7.69.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"zod": "^4.2.1"
},
"devDependencies": {
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@electric-sql/pglite": "^0.3.14",
"@percy/cli": "^1.31.6",
"@percy/playwright": "^1.0.10",
"@playwright/test": "^1.57.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@stryker-mutator/core": "^8.7.1",
"@tailwindcss/postcss": "^4",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@types/node": "^25",
"@types/pg": "^8.16.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^4.0.16",
"concurrently": "^9.2.1",
"drizzle-kit": "^0.31.8",
"eslint": "^9",
"eslint-config-next": "16.1.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"get-port": "^7.1.0",
"husky": "^9.1.7",
"jsdom": "^27.3.0",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"resize-observer-polyfill": "^1.5.1",
"semantic-release": "^25.0.2",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"tw-animate-css": "^1.4.0",
"typescript": "^5",
"vitest": "^4.0.16"
},
"engines": {
"node": ">=18.0.0"
}
}