Files
edgeever/package.json
T

94 lines
3.4 KiB
JSON

{
"name": "edgeever",
"version": "0.1.0",
"private": true,
"type": "module",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev": "concurrently -k -n api,web -c cyan,magenta \"bun run dev:api\" \"bun run dev:web\"",
"dev:api": "bun scripts/run-wrangler.mjs dev --remote --port 8787",
"dev:local": "concurrently -k -n api,web -c cyan,magenta \"bun run dev:api:local\" \"bun run dev:web\"",
"dev:api:local": "bun scripts/run-wrangler.mjs dev --local --port 8787",
"dev:web": "vite --config apps/web/vite.config.ts --host 127.0.0.1 --port 5173",
"build": "bun run build:web",
"build:web": "vite build --config apps/web/vite.config.ts",
"preview:web": "vite preview --config apps/web/vite.config.ts --host 127.0.0.1 --port 4173",
"typecheck": "tsc -p tsconfig.json --noEmit",
"db:migrate:local": "bun scripts/run-wrangler.mjs d1 migrations apply DB --local",
"db:migrate:remote": "bun scripts/run-wrangler.mjs d1 migrations apply DB --remote",
"auth:hash": "bun scripts/hash-password.mjs",
"cli": "bun scripts/edgeever.mjs",
"import:evernote": "bun scripts/import-evernote-enex-via-mcp.mjs",
"mcp:stdio": "bun scripts/edgeever-mcp-stdio.mjs",
"deploy": "bun run build && bun run db:migrate:remote && bun scripts/run-wrangler.mjs deploy"
},
"cloudflare": {
"bindings": {
"DB": {
"description": "EdgeEver 的 D1 数据库。用于存储 notebooks、memos、memo_contents、resources 元数据、全文搜索索引、修订记录和审计事件。"
},
"RESOURCES": {
"description": "EdgeEver 的 R2 对象存储桶。用于存储笔记内图片、附件和未来导入导出文件;D1 只保存资源元数据和 memo 关联。"
}
}
},
"dependencies": {
"@edgeever/shared": "workspace:*",
"@hono/zod-validator": "latest",
"@radix-ui/react-checkbox": "^1.3.5",
"@radix-ui/react-context-menu": "^2.3.1",
"@radix-ui/react-dialog": "^1.1.17",
"@radix-ui/react-dropdown-menu": "^2.1.18",
"@radix-ui/react-select": "^2.3.1",
"@radix-ui/react-slot": "^1.3.0",
"@radix-ui/react-switch": "^1.3.1",
"@radix-ui/react-toggle-group": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.10",
"@tanstack/react-query": "latest",
"@tiptap/extension-image": "^3.27.1",
"@tiptap/extension-placeholder": "latest",
"@tiptap/react": "latest",
"@tiptap/starter-kit": "latest",
"class-variance-authority": "latest",
"clsx": "latest",
"cmdk": "^1.1.1",
"dexie": "latest",
"fast-xml-parser": "^5.9.3",
"hono": "latest",
"lucide-react": "latest",
"marked": "^18.0.5",
"react": "latest",
"react-dom": "latest",
"react-dropzone": "^15.0.0",
"react-router": "^8.1.0",
"sharp": "^0.35.2",
"tailwind-merge": "latest",
"tailwindcss-animate": "^1.0.7",
"turndown": "^7.2.4",
"vaul": "^1.1.2",
"workbox-window": "^7.4.1",
"yet-another-react-lightbox": "^3.32.0",
"zod": "latest"
},
"devDependencies": {
"@cloudflare/workers-types": "latest",
"@types/marked": "^6.0.0",
"@types/node": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@types/turndown": "^5.0.6",
"@vitejs/plugin-react": "latest",
"autoprefixer": "latest",
"concurrently": "latest",
"postcss": "latest",
"tailwindcss": "^3.4.17",
"typescript": "latest",
"vite": "latest",
"vite-plugin-pwa": "^1.3.0",
"wrangler": "latest"
}
}