-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.34 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.34 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
{
"name": "devtools-extension",
"version": "0.1.4",
"description": "功能丰富的开发工具集合,支持 Chrome 扩展、网页应用和 macOS 桌面应用。包含 URL 编码、加密哈希、时间戳转换、JSON 格式化、文本处理、UUID 生成、正则测试、二维码生成、文本对比等 9 大工具。所有计算本地完成,保护隐私安全。支持快速搜索弹窗和快捷键自定义。",
"private": false,
"main": "electron/main.js",
"scripts": {
"dev": "node scripts/generate-favicon.js && vite",
"build": "vite build && node scripts/copy-manifest.js",
"preview": "vite preview",
"type-check": "vue-tsc --noEmit",
"package": "npm run build && node scripts/package-extension.js",
"electron:dev": "concurrently \"npm run dev\" \"node scripts/wait-for-vite.js\"",
"electron:build": "ELECTRON=1 npm run build && electron-builder",
"electron:build:mac": "ELECTRON=1 npm run build && node scripts/clean-dmg-mounts.js && sleep 2 && electron-builder --mac --x64 --publish never && node scripts/clean-dmg-mounts.js && sleep 2 && electron-builder --mac --arm64 --publish never",
"electron:pack": "npm run build && electron-builder --dir"
},
"dependencies": {
"@mediapipe/tasks-vision": "^0.10.32",
"crypto-js": "^4.2.0",
"marked": "^17.0.1",
"qrcode": "^1.5.3",
"three": "^0.182.0",
"vue": "^3.5.0"
},
"devDependencies": {
"@types/marked": "^5.0.2",
"@types/three": "^0.182.0",
"@vitejs/plugin-vue": "^5.1.0",
"concurrently": "^8.2.2",
"electron": "^31.0.0",
"electron-builder": "^24.9.1",
"sharp": "^0.33.5",
"typescript": "^5.5.0",
"vite": "^5.2.0",
"vue-tsc": "^2.0.0",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.devtools.suite",
"productName": "DevTools Suite",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**/*",
"electron/**/*",
"icons/**/*",
"package.json"
],
"mac": {
"category": "public.app-category.developer-tools",
"target": [
"dmg",
"zip"
],
"icon": "icons/icon.icns",
"hardenedRuntime": false,
"gatekeeperAssess": false,
"entitlements": "electron/entitlements.mac.plist",
"entitlementsInherit": "electron/entitlements.mac.plist",
"identity": null,
"extendInfo": {
"CFBundleIconFile": "icon.icns",
"CFBundleName": "DevTools Suite",
"CFBundleDisplayName": "DevTools Suite",
"CFBundleExecutable": "DevTools Suite",
"LSApplicationCategoryType": "public.app-category.developer-tools",
"NSCameraUsageDescription": "用于 Solar System 功能:读取摄像头画面进行手势识别(仅本地处理,不上传数据)。",
"NSMicrophoneUsageDescription": "用于媒体权限兼容(默认不采集麦克风,仅在需要时由用户授权)。"
}
},
"dmg": {
"title": "${productName} ${version}",
"icon": "icons/icon.icns",
"sign": false,
"contents": [
{
"x": 130,
"y": 220,
"type": "file"
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"format": "UDZO",
"window": {
"width": 540,
"height": 380
}
}
}
}