- typecheck now also runs tsc over tsconfig.test.json (test files were never type-checked before). - Delete tests/unit/background.test.ts, which only asserted the vitest chrome mock's own behavior — every remaining test imports production code from src/lib. - Baseline mock gains runtime.id, storage.session/remove, contextMenus, and tabs.sendMessage. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
34 lines
831 B
JSON
34 lines
831 B
JSON
{
|
|
"name": "lexai",
|
|
"version": "1.0.0",
|
|
"description": "A Grammarly-like Chrome Extension powered by your own LLM provider and API key",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"packageManager": "npm@11.13.0",
|
|
"scripts": {
|
|
"dev": "wxt",
|
|
"build": "wxt build",
|
|
"zip": "wxt zip",
|
|
"test": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json"
|
|
},
|
|
"dependencies": {
|
|
"@wxt-dev/module-react": "^1.1.5",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"tweetnacl": "^1.0.3",
|
|
"wxt": "^0.20.18"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.50.1",
|
|
"@types/chrome": "^0.1.37",
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-dom": "^18.3.1",
|
|
"jsdom": "^28.1.0",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.0.7"
|
|
}
|
|
}
|