Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.64 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
{
"name": "chat-voice-input",
"version": "0.2.0",
"description": "Composable React voice input for live transcription.",
"homepage": "https://chat-voice-input.vercel.app",
"bugs": {
"url": "https://github.com/roprgm/chat-voice-input/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/roprgm/chat-voice-input.git"
},
"author": {
"name": "Rodrigo Belfiore",
"url": "https://github.com/roprgm"
},
"license": "MIT",
"type": "module",
"sideEffects": [
"./dist/style.css"
],
"files": [
"dist",
"LICENSE",
"README.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./server": {
"types": "./dist/server.d.ts",
"import": "./dist/server.js"
},
"./audio": {
"types": "./dist/audio.d.ts",
"import": "./dist/audio.js"
},
"./ai-sdk": {
"types": "./dist/transcribers/ai-sdk.d.ts",
"import": "./dist/ai-sdk.js"
},
"./style.css": "./dist/style.css"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "vite build && tsc --noEmit false --declaration --emitDeclarationOnly --outDir dist --rootDir src",
"build:demo": "pnpm --filter chat-voice-input-demo build",
"check": "biome check . && pnpm typecheck",
"demo": "pnpm --filter chat-voice-input-demo dev",
"format": "biome format --write .",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit && tsc --project tsconfig.node.json --noEmit && pnpm --filter chat-voice-input-demo typecheck && tsc --project tests/tsconfig.json --noEmit",
"prepublishOnly": "pnpm check && pnpm test && pnpm build"
},
"keywords": [
"ai",
"audio",
"microphone",
"react",
"speech-to-text",
"transcription",
"voice-input"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"packageManager": "pnpm@10.13.1",
"peerDependencies": {
"@ai-sdk/gateway": "^4.0.0",
"ai": "^7.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"@ai-sdk/gateway": {
"optional": true
},
"ai": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/gateway": "^4.0.23",
"@biomejs/biome": "^2.5.5",
"@testing-library/react": "^16.3.0",
"@types/node": "^26.1.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"ai": "^7.0.31",
"jsdom": "^27.4.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"typescript": "^7.0.2",
"vite": "^8.1.5",
"vitest": "^4.1.10"
}
}