mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
- Split deploy.yml into 3 jobs: build, generate-resume, deploy - generate-resume job: Playwright cache, chromium install, PDF generation - deploy job: download both static-site and resume-pdf artifacts - Add build:resume convenience script in package.json - Artifact retention: site 5 days, PDF 30 days
31 lines
694 B
JSON
31 lines
694 B
JSON
{
|
|
"name": "portfolio",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"build:resume": "pnpm tsx scripts/generate-resume.ts",
|
|
"lint": "oxlint",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"motion": "^14.0.0",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"react-router": "8.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.13.3",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.7",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"oxlint": "^1.81.0",
|
|
"playwright": "^1.64.0",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.3.0"
|
|
}
|
|
}
|