mirror of
https://github.com/wangwangit/SubsTracker.git
synced 2026-09-03 07:25:02 +08:00
- package.json 升 3.0.0-alpha.1,新增 hono、vitest、@cloudflare/workers-types、wrangler 依赖 - jsconfig.json 配置 TypeScript 检查 JS(checkJs=false 默认关闭,文件级 // @ts-check 按需开启) - vitest.config.js 用 @cloudflare/vitest-pool-workers 跑真实 workerd 运行时 - tests/smoke.test.js 验证测试基础设施 - .gitignore 屏蔽 node_modules、调研文档、CHANGELOG 草稿 - 现有运行行为零变化,wrangler dry-run 通过 (390 KiB / 79 gzip) Refs Task 1 of refactor/v3-product-grade plan.
35 lines
921 B
JSON
35 lines
921 B
JSON
{
|
|
"name": "subscription-manager",
|
|
"version": "3.0.0-alpha.1",
|
|
"description": "订阅管理系统 v3 - 基于 Cloudflare Workers + Hono",
|
|
"main": "src/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "echo 'No build step required for Workers runtime'",
|
|
"setup": "node scripts/setup-kv.js",
|
|
"deploy": "npx wrangler deploy --env=\"\"",
|
|
"deploy:safe": "npm run setup && npm run deploy",
|
|
"lint": "tsc --noEmit -p jsconfig.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"hono": "^4.6.14"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-pool-workers": "^0.5.40",
|
|
"@cloudflare/workers-types": "^4.20241218.0",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "~2.1.9",
|
|
"wrangler": "^3.99.0"
|
|
},
|
|
"keywords": [
|
|
"cloudflare-workers",
|
|
"subscription-management",
|
|
"notification",
|
|
"lunar-calendar",
|
|
"hono"
|
|
],
|
|
"license": "MIT"
|
|
}
|