- Create browser-ext/ with full extension code (MV3 manifest, background service worker, content script, popup, options page) - Add tRPC API client that communicates with unified monolith endpoints - Implement cache, settings, and phishing detection utilities - Create extension tRPC router in web app (getAuthStatus, linkDevice, reportPhishing) - Configure Vite build with manifest V3 support - Write unit tests for cache, phishing detector, and API client - All 20 tests passing, TypeScript lint clean
32 lines
811 B
JSON
32 lines
811 B
JSON
{
|
|
"name": "shieldai",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"web",
|
|
"browser-ext"
|
|
],
|
|
"scripts": {
|
|
"dev": "pnpm --filter web dev",
|
|
"build": "pnpm --filter web build",
|
|
"build:ext": "pnpm --filter @shieldai/browser-ext build",
|
|
"test": "pnpm --filter web test",
|
|
"test:ext": "pnpm --filter @shieldai/browser-ext test",
|
|
"lint": "pnpm --filter web lint",
|
|
"lint:ext": "pnpm --filter @shieldai/browser-ext lint",
|
|
"db:migrate": "pnpm --filter web db:migrate",
|
|
"db:seed": "pnpm --filter web db:seed"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"@vitest/coverage-v8": "^4.1.5",
|
|
"turbo": "^2.3.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.1.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"packageManager": "pnpm@9.0.0"
|
|
}
|