mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
- Added React testing setup with JSDOM - Added component tests for AddTransactionForm and TransactionTable - Improved error handling and success messages in components - Updated test configuration and dependencies - Added CSS for error and success states
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "finance",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"format": "biome format --write .",
|
|
"lint": "biome lint .",
|
|
"check": "biome check --apply ."
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/cloudflare": "^12.5.1",
|
|
"@astrojs/node": "^9.2.1",
|
|
"@astrojs/react": "^4.2.5",
|
|
"@nanostores/react": "^1.0.0",
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"astro": "^5.7.5",
|
|
"nanostores": "^1.0.1",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/supertest": "^6.0.3",
|
|
"@vitejs/plugin-react": "^4.4.1",
|
|
"@vitest/coverage-v8": "^3.1.3",
|
|
"jsdom": "^26.1.0",
|
|
"supertest": "^7.1.0",
|
|
"vitest": "^3.1.2",
|
|
"wrangler": "^4.13.1"
|
|
}
|
|
}
|