-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.74 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 3.74 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "radar",
"version": "0.1.13",
"private": true,
"license": "MIT",
"author": {
"name": "Hairetsu",
"email": "hairetsu@hairetsu.com"
},
"description": "Open defensive web security workbench with an embedded Chromium browser, capture history, and controlled request repeater.",
"main": "dist-electron/electron/main.js",
"type": "module",
"scripts": {
"dev": "pnpm build:electron && concurrently -k \"vite --host 127.0.0.1\" \"wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron dist-electron/electron/main.js\"",
"build:app": "tsc -p tsconfig.app.json",
"build:electron": "tsc -p tsconfig.electron.json",
"build": "pnpm build:app && pnpm build:electron && vite build",
"preview": "vite preview --host 127.0.0.1",
"lint": "eslint .",
"test:unit": "vitest run --coverage",
"test:regression": "playwright test",
"test:regression:build": "pnpm build && playwright test",
"test:regression:report": "playwright show-report artifacts/regression/html",
"test:watch": "vitest",
"test": "pnpm lint && pnpm test:unit && pnpm build",
"screenshots": "pnpm build && electron dist-electron/electron/screenshot.js",
"plugin:validate": "node scripts/validate-plugin.mjs",
"icons": "bash scripts/build-icon.sh",
"pack": "pnpm build && electron-builder --dir",
"dist": "pnpm build && electron-builder"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.468.0",
"mockttp": "^4.4.2",
"playwright-core": "^1.61.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^3.6.0"
},
"devDependencies": {
"@playwright/test": "^1.61.1",
"@tailwindcss/vite": "^4.3.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.9.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vitejs/plugin-react": "^5.2.0",
"@vitest/coverage-v8": "^4.1.7",
"concurrently": "^9.1.0",
"cross-env": "^10.1.0",
"electron": "^42.2.0",
"electron-builder": "^26.0.12",
"eslint": "^9.15.0",
"eslint-plugin-react-hooks": "^5.0.0",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.6",
"jsdom": "^29.1.1",
"tailwindcss": "^4.3.0",
"typescript": "^5.6.3",
"vite": "^6.0.1",
"vitest": "^4.1.7",
"wait-on": "^8.0.1",
"ws": "^8.21.1"
},
"build": {
"appId": "com.radar.workbench",
"productName": "Radar",
"copyright": "Copyright © Radar contributors",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"resources/icon.png",
"resources/icon.icns",
"package.json"
],
"asarUnpack": [
"node_modules/mockttp/**/*",
"node_modules/httpolyglot/**/*",
"node_modules/node-forge/**/*",
"node_modules/http-encoding/**/*",
"node_modules/brotli-wasm/**/*",
"node_modules/zstd-codec/**/*",
"node_modules/portfinder/**/*"
],
"mac": {
"category": "public.app-category.developer-tools",
"icon": "resources/icon.icns",
"identity": null,
"target": [
"dmg"
]
},
"win": {
"icon": "resources/icon.png",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"linux": {
"icon": "resources/icon.png",
"maintainer": "Hairetsu <hairetsu@hairetsu.com>",
"target": [
"AppImage",
"deb"
],
"category": "Development"
}
}
}