Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 4.88 KB
/
Copy pathpackage.json
File metadata and controls
154 lines (154 loc) · 4.88 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "devtools-extension",
"version": "0.1.5",
"description": "功能丰富的开发工具集合,支持 Chrome 扩展、网页应用和 macOS 桌面应用。包含 URL 编码、加密哈希、时间戳转换、JSON 格式化、文本处理、UUID 生成、正则测试、二维码生成、文本对比、颜色、JWT 等常用工具。所有计算本地完成,保护隐私安全。支持快速搜索弹窗和快捷键自定义。",
"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": "ELECTRON=1 npm run build && electron-builder --dir"
},
"dependencies": {
"@mediapipe/tasks-vision": "^0.10.32",
"crypto-js": "^4.2.0",
"marked": "^17.0.1",
"mermaid": "^11.17.2",
"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"
],
"afterPack": "electron/after-pack.js",
"fileAssociations": [
{
"ext": "md",
"name": "Markdown document",
"description": "Markdown document",
"role": "Editor",
"mimeType": "text/markdown"
},
{
"ext": "markdown",
"name": "Markdown document",
"description": "Markdown document",
"role": "Editor",
"mimeType": "text/markdown"
},
{
"ext": "mdown",
"name": "Markdown document",
"description": "Markdown document",
"role": "Editor",
"mimeType": "text/markdown"
}
],
"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": "用于媒体权限兼容(默认不采集麦克风,仅在需要时由用户授权)。",
"UTExportedTypeDeclarations": [
{
"UTTypeIdentifier": "com.devtools.suite.markdown",
"UTTypeDescription": "Markdown document",
"UTTypeConformsTo": [
"public.text"
],
"UTTypeTagSpecification": {
"public.filename-extension": [
"md",
"markdown",
"mdown"
],
"public.mime-type": "text/markdown"
}
}
],
"CFBundleDocumentTypes": [
{
"CFBundleTypeExtensions": [
"md",
"markdown",
"mdown"
],
"CFBundleTypeName": "Markdown document",
"CFBundleTypeRole": "Editor",
"LSItemContentTypes": [
"com.devtools.suite.markdown"
]
}
]
}
},
"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
}
}
}
}