-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.19 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 3.19 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
{
"name": "openflow",
"productName": "OpenFlow",
"version": "1.3.016",
"description": "Cross-platform desktop dictation app OpenFlow using Electron and Faster-Whisper.",
"main": "src/main/main.js",
"scripts": {
"start": "electron .",
"check": "node --check src/main/main.js && node --check src/main/preload.js && node --check src/main/overlay-preload.js && node --check src/renderer/renderer.js && node --check src/renderer/overlay.js",
"build:icons": "node scripts/build-icons.js",
"build:python": "node scripts/build-python.js",
"dist:win": "node scripts/build-win.js",
"dist:mac": "npm run build:icons && npm run build:python && electron-builder --mac dmg zip --publish never",
"dist:mac:x64": "npm run build:icons && npm run build:python && electron-builder --mac dmg zip --x64 --publish never",
"dist:mac:arm64": "npm run build:icons && npm run build:python && electron-builder --mac dmg zip --arm64 --publish never",
"publish:mac:x64": "npm run dist:mac:x64 && node scripts/publish-mac.js x64",
"publish:mac:arm64": "npm run dist:mac:arm64 && node scripts/publish-mac.js arm64"
},
"build": {
"appId": "com.openflow.app",
"productName": "OpenFlow",
"asar": true,
"publish": [
{
"provider": "github",
"owner": "MusicMaster4",
"repo": "OpenFlow"
}
],
"files": [
"src/**/*",
"package.json",
".env.example",
"!python/**/*",
"!scripts/build-python.ps1",
"!build/**/*",
"!dist/**/*"
],
"extraResources": [
{
"from": "build/python-dist/dictation_service",
"to": "bin/dictation_service",
"filter": [
"**/*"
]
},
{
"from": "build/python-dist/hotkey_listener",
"to": "bin/hotkey_listener",
"filter": [
"**/*"
]
},
{
"from": "scripts",
"to": "scripts",
"filter": [
"send_text.ps1",
"system_audio_controller.ps1"
]
}
],
"win": {
"target": "nsis",
"icon": "src/assets/openflow.ico",
"artifactName": "${productName}-Setup-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": false,
"perMachine": true,
"deleteAppDataOnUninstall": false,
"installerIcon": "src/assets/openflow.ico",
"installerHeaderIcon": "src/assets/openflow.ico",
"uninstallerIcon": "src/assets/openflow.ico"
},
"mac": {
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"target": [
"dmg",
"zip"
],
"category": "public.app-category.productivity",
"icon": "src/assets/openflow.icns",
"extendInfo": {
"NSMicrophoneUsageDescription": "OpenFlow needs microphone access to capture your voice.",
"NSAppleEventsUsageDescription": "OpenFlow needs permission to paste transcriptions into the active app."
}
}
},
"license": "SEE LICENSE IN LICENSE",
"devDependencies": {
"electron": "^37.2.0",
"electron-builder": "^26.0.12"
},
"dependencies": {
"dotenv": "^17.3.1",
"electron-updater": "^6.8.3"
}
}