Cut review mode over to the extracted citation-work package instead of a local src/work/ implementation. - Add @citation-evidence/work as a link: dependency - Repoint the @work alias (tsconfig + vite) to ../citation-work/src/work and allow vite fs access to the sibling - Remove the local src/work/ implementation (now owned by citation-work) Typecheck, lint, and the full test suite (51 tests) pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "citation-evidence",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Document-centered evidence workspace — umbrella-first MVP.",
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"packageManager": "pnpm@9.15.0",
|
|
"engines": {
|
|
"node": ">=20.10.0"
|
|
},
|
|
"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-source": "link:../evidence-source",
|
|
"@citation-evidence/evidence-anchor": "link:../evidence-anchor",
|
|
"@citation-evidence/work": "link:../citation-work",
|
|
"jszip": "^3.10.1",
|
|
"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"
|
|
}
|
|
}
|