-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.01 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "agentsafe",
"version": "0.9.0",
"private": true,
"description": "AgentSafe - Prompt Injection Detector and Web Sanitizer",
"license": "MIT",
"type": "module",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=25.9.0"
},
"scripts": {
"build": "pnpm -r build",
"dev": "pnpm --filter @agentsafe/extension dev",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "pnpm --filter @agentsafe/shared-types --filter @agentsafe/risk-engine --filter @agentsafe/scanner-wasm --filter @agentsafe/browser-scanner-adapter --filter @agentsafe/webmcp-security --filter @agentsafe/dom-sanitizer --filter @agentsafe/markdown-exporter build && pnpm --filter @agentsafe/extension typecheck",
"verify:clean": "powershell -ExecutionPolicy Bypass -File scripts/verify-clean-build.ps1",
"e2e": "playwright test --project=e2e",
"capture:screenshots": "playwright test --project=capture",
"capture:screenshot": "playwright test --project=capture",
"capture:demo": "playwright test --project=demo",
"make:gif": "bash scripts/make-gif.sh docs/media/demo.webm"
},
"workspaces": [
"apps/*",
"packages/*"
],
"pnpm": {
"overrides": {
"adm-zip": "^0.6.0",
"@vitejs/plugin-react": "^4.7.0",
"brace-expansion": "^5.0.8",
"shell-quote": "^1.9.0",
"tar": "^7.5.21",
"tmp": "^0.2.6",
"uuid": "^11.1.1"
}
},
"dependencies": {
"@mozilla/readability": "^0.6.0",
"dompurify": "^3.1.6",
"jsdom": "^24.1.1",
"turndown": "^7.2.0"
},
"devDependencies": {
"@playwright/test": "^1.45.3",
"@types/chrome": "^0.0.268",
"@types/node": "^20.14.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/turndown": "^5.0.5",
"@vitejs/plugin-react": "^4.7.0",
"@wxt-dev/module-react": "^1.2.2",
"lucide-react": "^0.468.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.4",
"vite": "^7.3.6",
"vitest": "^4.1.10",
"wxt": "^0.21.1"
}
}