Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 4.48 KB
/
Copy pathpackage.json
File metadata and controls
150 lines (150 loc) · 4.48 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
{
"name": "intercom-prototype",
"version": "0.1.0-prototype.18",
"private": true,
"description": "Local push-to-talk, existing Copilot conversation and transparent desktop mesh prototype",
"author": "Zanark",
"license": "UNLICENSED",
"repository": "https://github.com/Zanark/Intercom.git",
"type": "module",
"main": "desktop/main.cjs",
"scripts": {
"dev": "vite --host 127.0.0.1",
"build": "tsc --noEmit && vite build",
"start": "npm run build && electron .",
"desktop": "electron .",
"test": "vitest run",
"test:voice": "node --test tests\\unit\\voice-host.unit.cjs tests\\unit\\recognition.unit.cjs",
"test:controller": "node --test tests\\unit\\interpreter.unit.cjs",
"test:host": "node --test tests\\unit\\mesh-host.unit.cjs tests\\unit\\work-host.unit.cjs tests\\unit\\orchestration.unit.cjs tests\\unit\\research.unit.cjs tests\\unit\\diagnostics.unit.cjs",
"test:desktop": "node -p \"require('electron')\" && playwright test",
"test:portable": "node tests\\smoke\\portable-smoke.cjs",
"package:win": "npm run build && electron-builder --win portable --x64 --publish never",
"lint": "eslint . --max-warnings 0"
},
"dependencies": {
"@github/copilot-sdk": "1.0.31",
"react": "19.3.1",
"react-dom": "19.3.1",
"three": "0.187.0"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@playwright/test": "1.64.1",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@types/three": "0.187.0",
"@vitejs/plugin-react": "6.2.1",
"electron": "45.2.1",
"electron-builder": "26.18.0",
"eslint": "10.14.0",
"eslint-plugin-react-hooks": "7.1.1",
"globals": "17.14.0",
"typescript": "6.0.3",
"typescript-eslint": "8.72.1",
"vite": "8.3.5",
"vitest": "5.1.0"
},
"build": {
"appId": "io.github.zanark.intercom.prototype",
"productName": "Intercom Prototype",
"asar": true,
"beforePack": "tools/verify-speech-bundle.cjs",
"npmRebuild": false,
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"desktop/**/*.cjs",
"desktop/speech/*.ps1",
"package.json",
"!node_modules/react/**/*",
"!node_modules/react-dom/**/*",
"!node_modules/scheduler/**/*",
"!node_modules/three/**/*",
"!node_modules/@github/copilot-sdk-*/**/*"
],
"asarUnpack": [
"node_modules/koffi/**/*",
"node_modules/@koromix/koffi-win32-x64/**/*"
],
"extraFiles": [
{
"from": "desktop/licenses/miniaudio.txt",
"to": "licenses/miniaudio.txt"
},
{
"from": "desktop/licenses/whisper-cpp.txt",
"to": "licenses/whisper-cpp.txt"
},
{
"from": "desktop/licenses/whisper-model.txt",
"to": "licenses/whisper-model.txt"
},
{
"from": "desktop/licenses/copilot-sdk.txt",
"to": "licenses/copilot-sdk.txt"
},
{
"from": "node_modules/koffi/LICENSE.txt",
"to": "licenses/koffi.txt"
},
{
"from": "node_modules/lossless-json/LICENSE.md",
"to": "licenses/lossless-json.txt"
},
{
"from": "node_modules/vscode-jsonrpc/License.txt",
"to": "licenses/vscode-jsonrpc.txt"
},
{
"from": "node_modules/vscode-jsonrpc/thirdpartynotices.txt",
"to": "licenses/vscode-jsonrpc-thirdparty.txt"
},
{
"from": "node_modules/zod/LICENSE",
"to": "licenses/zod.txt"
},
{
"from": "node_modules/react/LICENSE",
"to": "licenses/react.txt"
},
{
"from": "node_modules/react-dom/LICENSE",
"to": "licenses/react-dom.txt"
},
{
"from": "node_modules/scheduler/LICENSE",
"to": "licenses/scheduler.txt"
},
{
"from": "node_modules/three/LICENSE",
"to": "licenses/three.txt"
}
],
"extraResources": [
{
"from": ".local/speech-qualification/vulkan-engine",
"to": "speech",
"filter": [
"ggml-large-v3-turbo-q5_0.bin",
"runtime/*.dll",
"runtime/whisper-cli.exe",
"runtime/intercom-recognition.exe"
]
}
],
"win": {
"target": "portable",
"executableName": "IntercomPrototype",
"icon": "public/branding/intercom.ico",
"signAndEditExecutable": true,
"signExecutable": false,
"artifactName": "Intercom-Prototype-${version}-win-${arch}.${ext}"
},
"portable": {
"unpackDirName": true
}
}
}