Files
resume/package.json
T
wonder 0b9db1d401
Deploy Resume / deploy (push) Failing after 36s
重构:两维度四变体数据驱动简历站点
- 数据分层:base/experiences(事实) + companies(企业维度) + roles(岗位维度) + variants(变体覆盖),Handlebars 模板构建生成 4 份 HTML + 4 份纯文本 + 导航页
- 路由:根路由导航页(默认推荐 私企-全栈),/private/{dev,support}、/soe/{dev,support},旧地址 301 兼容
- 支持/交付岗不改写经历 bullet(与私企-dev 逐字一致),仅专业技能适配
- 移除 CSDN 与文档站链接
- 样式拆分 base + theme-private/theme-soe,打印样式去底色、条目不跨页
- Docker 多阶段构建(node 构建 → nginx 托管),新增 check.mjs 自检与 serve.mjs 本地预览
- 删除旧手写简历(resume/soe/other/txt)与重复样式
2026-11-03 12:20:24 +08:00

19 lines
393 B
JSON

{
"name": "resume-site",
"private": true,
"type": "module",
"scripts": {
"build": "node scripts/build.mjs",
"check": "node scripts/check.mjs",
"serve": "node scripts/build.mjs && node scripts/serve.mjs"
},
"dependencies": {
"playwright": "^1.61.1",
"playwright-core": "^1.61.1"
},
"devDependencies": {
"handlebars": "^4.7.8",
"yaml": "^2.8.2"
}
}