forked from yan5xu/ququ
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 5 KB
/
package.json
File metadata and controls
161 lines (161 loc) · 5 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
155
156
157
158
159
160
161
{
"name": "ququ",
"version": "1.0.0",
"description": " 蛐蛐-基于FunASR和可配置AI模型的中文优化语音转文字应用",
"main": "main.js",
"private": true,
"scripts": {
"start": "electron .",
"dev": "concurrently -k -r \"npm:dev:renderer\" \"npm:dev:main\"",
"dev:main": "cross-env NODE_ENV=development electron . --dev",
"dev:renderer": "cd src && vite",
"build": "cd src && vite build && cd .. && electron-builder",
"postinstall": "electron-builder install-app-deps",
"build:renderer": "cd src && vite build",
"prepare:python": "pip install funasr modelscope torch torchaudio librosa numpy && python download_models.py",
"prepare:python:uv": "uv sync && uv run python download_models.py",
"prepare:python:embedded": "node scripts/prepare-embedded-python.js",
"prepare:python:info": "node scripts/prepare-embedded-python.js --info",
"test:python": "node scripts/test-embedded-python.js",
"test:python:info": "node scripts/test-embedded-python.js --info",
"prebuild:mac": "npm run prepare:python:embedded && npm run build:renderer",
"build:mac": "electron-builder --mac",
"prebuild:win": "npm run prepare:python:embedded && npm run build:renderer",
"build:win": "electron-builder --win",
"prebuild:linux": "npm run prepare:python:embedded && npm run build:renderer",
"build:linux": "electron-builder --linux",
"pack": "npm run build:renderer && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --dir",
"dist": "npm run prepare:python:embedded && npm run build:renderer && electron-builder",
"lint": "cd src && eslint .",
"preview": "cd src && vite preview",
"clean": "node cleanup.js && rm -rf python"
},
"keywords": [
"dictation",
"speech-to-text",
"funasr",
"ai",
"llm",
"chinese",
"electron",
"desktop-app"
],
"author": {
"name": "yan5xu",
"email": "lueco.x@gmail.com"
},
"license": "MIT",
"devDependencies": {
"@electron/notarize": "^3.0.1",
"@eslint/js": "^9.25.0",
"@tailwindcss/postcss": "^4.1.13",
"@tailwindcss/vite": "^4.1.10",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"autoprefixer": "^10.4.21",
"concurrently": "^8.2.2",
"cross-env": "^10.0.0",
"electron": "36.5.0",
"electron-builder": "^24.6.4",
"eslint": "^9.25.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"node-gyp": "^11.4.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.10",
"vite": "^6.3.5"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-dropdown-menu": "^2.1.15",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-progress": "^1.1.7",
"@radix-ui/react-select": "^2.2.5",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tabs": "^1.1.12",
"asynckit": "^0.4.0",
"axios": "^1.6.0",
"better-sqlite3": "11.10.0",
"bindings": "^1.5.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"combined-stream": "^1.0.8",
"delayed-stream": "^1.0.0",
"dotenv": "^16.3.1",
"electron-updater": "^6.6.2",
"es-errors": "^1.3.0",
"es-object-atoms": "^1.1.1",
"es-set-tostringtag": "^2.1.0",
"ffmpeg-static": "^5.2.0",
"file-uri-to-path": "^2.0.0",
"form-data": "^4.0.4",
"get-intrinsic": "^1.3.0",
"lucide-react": "^0.518.0",
"math-intrinsics": "^1.1.0",
"mime-db": "^1.54.0",
"mime-types": "^3.0.1",
"next-themes": "^0.4.6",
"osascript": "^1.0.7",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"shadcn-ui": "^0.9.5",
"sonner": "^2.0.7",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
"tar": "^7.4.3",
"tw-animate-css": "^1.3.4",
"unzipper": "^0.12.3"
},
"build": {
"appId": "com.ququ.app",
"productName": "蛐蛐",
"directories": {
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"funasr_server.py",
"download_models.py",
"package.json",
"python/**/*",
"node_modules/**/*",
"src/dist/**/*",
"src/helpers/**/*",
"src/utils/**/*",
"assets/**/*",
"!node_modules/.cache/**/*",
"!src/node_modules/**/*",
"!python/**/*.pyc",
"!python/**/__pycache__/**/*"
],
"asarUnpack": [
"funasr_server.py",
"download_models.py",
"python/**/*",
"node_modules/**/*ffmpeg-static*/**/*",
"node_modules/**/*better-sqlite3*/**/*",
"node_modules/**/*bindings*/**/*"
],
"mac": {
"category": "public.app-category.productivity",
"icon": "assets/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"notarize": {
"teamId": "7MTHK6DGS4"
}
},
"win": {
"icon": "assets/icon.ico"
},
"linux": {
"icon": "assets/icon.png",
"category": "Office"
}
}
}