843ed96aaa
- Install jszip dependency (~100KB, pure JS) - New src/lib/server/export/financial.ts builds a year-scoped ZIP with one CSV per logical table: company, projects, parties (incl archived), employees (incl terminated), budget_allocations, expenses, invoices + line items, salary_history (effective on/before year end), payslips + line items, packages (with carrier label and customs link), external_transactions (with provider label and matched expense), company_log - All CSVs prefixed with UTF-8 BOM for Excel/Thai support - Reference tables include soft-deleted rows so historical FKs resolve - Routes and UI to follow in next commit Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "buildfor-life-budget",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --threshold warning",
|
|
"validate": "npm run check && npm run build",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"@node-rs/argon2": "^2.0.2",
|
|
"@oslojs/crypto": "^1.0.1",
|
|
"@oslojs/encoding": "^1.1.0",
|
|
"@pdf-lib/fontkit": "^1.1.1",
|
|
"chart.js": "^4.4.7",
|
|
"date-fns": "^4.1.0",
|
|
"drizzle-orm": "^0.38.4",
|
|
"jszip": "^3.10.1",
|
|
"papaparse": "^5.5.2",
|
|
"pdf-lib": "^1.17.1",
|
|
"pg": "^8.13.1",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-node": "^5.2.12",
|
|
"@sveltejs/kit": "^2.15.2",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
"@tailwindcss/vite": "^4.1.3",
|
|
"@types/papaparse": "^5.3.15",
|
|
"@types/pg": "^8.11.11",
|
|
"drizzle-kit": "^0.30.5",
|
|
"husky": "^9.1.7",
|
|
"svelte": "^5.19.0",
|
|
"svelte-check": "^4.1.4",
|
|
"tailwindcss": "^4.1.3",
|
|
"typescript": "^5.7.3",
|
|
"vite": "^6.1.0"
|
|
}
|
|
}
|