Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 3.79 KB
/
Copy pathpackage.json
File metadata and controls
159 lines (159 loc) · 3.79 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
{
"name": "speech2type-enhanced",
"version": "0.6.0",
"description": "Voice typing CLI for Mac with voice commands (affirmative, retract, silence) and Claude Code TTS integration.",
"author": "jessesep",
"license": "MIT",
"homepage": "https://github.com/jessesep/speech2type",
"repository": {
"type": "git",
"url": "git+https://github.com/jessesep/speech2type.git"
},
"keywords": [
"speech-to-text",
"voice-typing",
"dictation",
"macos",
"cli"
],
"type": "module",
"main": "src/index.js",
"bin": {
"speech2type": "bin/speech2type.js",
"s2t": "bin/speech2type.js"
},
"files": [
"bin/",
"src/",
"swift/",
"README.md",
"LICENSE",
"package.json"
],
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/jessesep/speech2type/issues"
},
"scripts": {
"start": "./bin/speech2type.js",
"build:swift": "mkdir -p bin && swiftc -O -o bin/hotkey-manager swift/hotkey-manager.swift && swiftc -O -o bin/permission-checker swift/permission-checker.swift && swiftc -O -o bin/mic-recorder swift/mic-recorder.swift && swiftc -O -o bin/focus-checker swift/focus-checker.swift",
"build": "npm run build:swift",
"dev": "npm run build && ./bin/speech2type.js",
"gui": "electron gui/main.cjs",
"gui:dev": "NODE_ENV=development electron gui/main.cjs",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:mac": "electron-builder --mac",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"check": "npm run lint && npm run format:check",
"prepack": "npm run build",
"prepublishOnly": "npm run build",
"push": "git add . && git commit -m 'ship!' && git push",
"release": "npm version patch && npm publish"
},
"preferGlobal": true,
"dependencies": {
"@anthropic-ai/sdk": "^0.71.2",
"@deepgram/sdk": "^3.6.0",
"boxen": "^5.1.2",
"chalk": "^4.1.2",
"conf": "^10.2.0",
"fuse.js": "^7.1.0",
"keytar": "^7.9.0",
"node-osc": "^11.1.1",
"prompts": "^2.4.2"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@vitest/coverage-v8": "^4.0.15",
"electron": "^39.2.5",
"electron-builder": "^26.0.0",
"eslint": "^9.33.0",
"globals": "^16.3.0",
"prettier": "^3.6.2",
"vitest": "^4.0.15"
},
"build": {
"appId": "com.jessesep.speech2type",
"productName": "Speech2Type Enhanced",
"directories": {
"output": "dist"
},
"files": [
"gui/**/*",
"src/**/*",
"bin/**/*",
"addons/**/*",
"node_modules/**/*",
"package.json"
],
"extraResources": [
{
"from": "bin/",
"to": "bin/",
"filter": [
"**/*"
]
},
{
"from": "addons/",
"to": "addons/",
"filter": [
"**/*"
]
}
],
"mac": {
"category": "public.app-category.productivity",
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
},
{
"target": "zip",
"arch": [
"arm64"
]
}
],
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"dmg": {
"title": "Speech2Type Enhanced",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
}
}
}