Establishes citation-work as the standalone home of the review workspace, migrated out of the citation-evidence umbrella app. - Package/tooling scaffold: package.json, tsconfig, vite/vitest/eslint configs with eslint-plugin-boundaries enforcing engine/anchor/source-only imports - Providers/hooks: EngineProvider, SessionProvider + use* hooks (T02) - Panes: CollectionList, ViewerShell, EvidenceSidebar (T03/T04/T05) - Capture/edit: InlineCaptureForm, EvidenceFormBody; UploadDropzone owned here - ReviewShell: repo-owned three-pane layout with an upload slot seam - Tests: CollectionList, InlineCaptureForm capture flow, EvidenceSidebar export/edit/activation (11 tests, all green) - Anchor consumed as @citation-evidence/evidence-anchor package; @source kept on the umbrella facade for its local viewer-url policy - Docs (README/SCOPE) refreshed; deferred gaps recorded Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "@citation-evidence/work",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Review workspace UI for the citation-evidence ecosystem.",
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"packageManager": "pnpm@9.15.0",
|
|
"engines": {
|
|
"node": ">=20.10.0"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"README.md",
|
|
"LICENSE",
|
|
"SCOPE.md",
|
|
"INTENT.md"
|
|
],
|
|
"exports": {
|
|
".": "./src/work/index.ts"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc -b --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@citation-evidence/engine": "link:../citation-engine",
|
|
"@citation-evidence/evidence-anchor": "link:../evidence-anchor",
|
|
"@citation-evidence/evidence-source": "link:../evidence-source",
|
|
"pdfjs-dist": "^4.4.168",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-pdf-highlighter-plus": "^1.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^20.14.0",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-react": "^4.3.1",
|
|
"eslint": "^9.7.0",
|
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
"eslint-plugin-boundaries": "^4.2.2",
|
|
"eslint-plugin-import": "^2.30.0",
|
|
"globals": "^15.9.0",
|
|
"happy-dom": "^20.9.0",
|
|
"typescript": "^5.5.4",
|
|
"typescript-eslint": "^8.0.0",
|
|
"vite": "^5.4.0",
|
|
"vite-plugin-static-copy": "^2",
|
|
"vitest": "^2.0.5"
|
|
}
|
|
}
|