-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.46 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 3.46 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
{
"name": "cdp-browser",
"version": "0.3.0",
"productName": "CDP Browser",
"description": "A lightweight browser that connects to remote Chromium via Chrome DevTools Protocol",
"author": "duongdev",
"license": "MIT",
"main": "main.js",
"packageManager": "pnpm@11.2.2",
"engines": {
"node": ">=22.14"
},
"scripts": {
"dev": "concurrently -k \"vite\" \"sleep 2 && ELECTRON_DEV=1 electron .\"",
"build": "vite build",
"start": "vite build && electron .",
"preview": "electron .",
"web": "vite build && node web/server.mjs",
"web:serve": "node web/server.mjs",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:e2e:browser": "playwright test",
"typecheck": "tsc --noEmit",
"check": "biome check .",
"check:changed": "biome check --changed --since=\"${BIOME_SINCE:-origin/main}\" --no-errors-on-unmatched",
"lint": "biome lint .",
"format": "biome format --write .",
"dist": "vite build && electron-builder --mac",
"dist:dir": "vite build && electron-builder --mac --dir",
"install:local": "bash scripts/install-local.sh",
"prepare": "husky"
},
"build": {
"appId": "dev.duong.cdp-browser",
"productName": "CDP Browser",
"mac": {
"category": "public.app-category.developer-tools",
"icon": "build/icon.icns",
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "Local tabs use the microphone for calls and meetings.",
"NSCameraUsageDescription": "Local tabs use the camera for calls and meetings.",
"NSAudioCaptureUsageDescription": "Local tabs capture audio when you share your screen."
},
"target": [
"dmg",
"zip"
]
},
"files": [
"main.js",
"preload.js",
"core/**/*.js",
"!core/**/*.test.ts",
"!core/**/*.test.js",
"inject/**/*",
"dist/**/*",
"!node_modules/**/*",
"node_modules/ws/**/*"
],
"directories": {
"output": "release"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,json,css}": "biome check --write --no-errors-on-unmatched"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"cmdk": "^1.1.1",
"motion": "^12.40.0",
"radix-ui": "^1.4.3",
"sonner": "^2.0.7",
"web-push": "^3.6.7",
"ws": "*"
},
"devDependencies": {
"@biomejs/biome": "^2.2.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@fontsource-variable/manrope": "^5.2.8",
"@fontsource/dm-mono": "5.2.7",
"@hugeicons/core-free-icons": "^4.1.4",
"@hugeicons/react": "^1.1.6",
"@playwright/test": "^1.60.0",
"@tailwindcss/vite": "^4.2.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"concurrently": "^9.2.1",
"electron": "*",
"electron-builder": "^26.8.1",
"husky": "^9.1.7",
"lint-staged": "^16.1.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"shadcn": "^4.8.0",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.2",
"tw-animate-css": "^1.4.0",
"typescript": "^5.8.3",
"vite": "^8.0.1",
"vitest": "^4.1.7"
}
}