Phase 2.1: Block-Based Editor - TipTap/ProseMirror editor with StarterKit extensions - Rich text toolbar (bold, italic, underline, strikethrough, headings, lists) - Slash command menu with 9 block types (headings, lists, code, quote, divider) - Markdown shortcuts and task list support - Code blocks with lowlight syntax highlighting Phase 2.2: Note CRUD & Organization - Note sidebar with search/filter - Note editor with auto-saving - Zustand store with localStorage persistence - API client for CRUD operations - Optimistic UI updates Phase 2.3: Full-Text Search - API endpoint with PostgreSQL ILIKE search - Frontend search input with result filtering Phase 2.4: Bidirectional Linking - Link extension configured in TipTap - Note list with date formatting and tag display
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"name": "@yetanother/web",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src/",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"clean": "rm -rf .turbo node_modules dist"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-router-dom": "^7.6.0",
|
|
"@yetanother/ui": "workspace:*",
|
|
"@yetanother/utils": "workspace:*",
|
|
"@yetanother/hooks": "workspace:*",
|
|
"@yetanother/types": "workspace:*",
|
|
"zustand": "^5.0.0",
|
|
"@tanstack/react-query": "^5.75.0",
|
|
"jotai": "^2.12.0",
|
|
"@tiptap/react": "^2.11.0",
|
|
"@tiptap/starter-kit": "^2.11.0",
|
|
"@tiptap/extension-placeholder": "^2.11.0",
|
|
"@tiptap/extension-code-block-lowlight": "^2.11.0",
|
|
"@tiptap/extension-image": "^2.11.0",
|
|
"@tiptap/extension-link": "^2.11.0",
|
|
"@tiptap/extension-table": "^2.11.0",
|
|
"@tiptap/extension-table-row": "^2.11.0",
|
|
"@tiptap/extension-table-cell": "^2.11.0",
|
|
"@tiptap/extension-table-header": "^2.11.0",
|
|
"@tiptap/extension-task-item": "^2.11.0",
|
|
"@tiptap/extension-task-list": "^2.11.0",
|
|
"@tiptap/extension-highlight": "^2.11.0",
|
|
"@tiptap/extension-underline": "^2.11.0",
|
|
"@tiptap/extension-text-align": "^2.11.0",
|
|
"@tiptap/pm": "^2.11.0",
|
|
"lowlight": "^3.3.0",
|
|
"lucide-react": "^0.510.0"
|
|
},
|
|
"devDependencies": {
|
|
"@yetanother/tsconfig": "workspace:*",
|
|
"@yetanother/eslint-config": "workspace:*",
|
|
"@types/react": "^19.1.0",
|
|
"@types/react-dom": "^19.1.0",
|
|
"typescript": "^5.8.0",
|
|
"vite": "^6.3.0",
|
|
"@vitejs/plugin-react": "^4.4.0",
|
|
"vitest": "^3.1.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/jest-dom": "^6.6.0",
|
|
"jsdom": "^26.0.0",
|
|
"eslint": "^9.25.0",
|
|
"tailwindcss": "^4.1.0",
|
|
"@tailwindcss/vite": "^4.1.0"
|
|
}
|
|
}
|