-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.28 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.28 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
{
"name": "@kittentts/react-native",
"version": "1.2.0",
"description": "On-device text-to-speech for React Native, powered by KittenTTS + ONNX Runtime",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"browser": {
"./lib/index.js": "./lib/index.web.js",
"./lib/KittenTTS.js": "./lib/KittenTTS.web.js",
"./lib/KittenTTSBundledAssets.js": "./lib/KittenTTSBundledAssets.web.js",
"./lib/KittenTTSConfig.js": "./lib/KittenTTSConfig.web.js",
"./lib/audio/AudioOutput.js": "./lib/audio/AudioOutput.web.js",
"./lib/engine/TTSEngine.js": "./lib/engine/TTSEngine.web.js",
"./lib/loader/ModelDownloader.js": "./lib/loader/ModelDownloader.web.js",
"./lib/loader/NPZLoader.js": "./lib/loader/NPZLoader.web.js",
"./lib/phonemizer/CEPhonemizer.js": "./lib/phonemizer/CEPhonemizer.web.js"
},
"exports": {
".": {
"types": "./lib/index.d.ts",
"browser": {
"types": "./lib/index.web.d.ts",
"default": "./lib/index.web.js"
},
"react-native": "./lib/index.js",
"require": "./lib/index.js",
"default": "./lib/index.js"
},
"./app.plugin": "./app.plugin.js",
"./app.plugin.js": "./app.plugin.js",
"./package.json": "./package.json"
},
"bin": {
"kittentts-react-native": "bin/kittentts-react-native.js"
},
"files": [
"lib/",
"bin/",
"app.plugin.js",
"scripts/patch-onnxruntime-react-native.js",
"android/",
"react-native.config.js",
"assets/",
"docs/",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:phonemizer && npm run build:ts",
"build:ts": "tsc -p tsconfig.json && node scripts/copy-generated.js",
"build:test": "tsc -p tsconfig.json",
"build:phonemizer": "node scripts/build-cephonemizer.js",
"postinstall": "node scripts/patch-onnxruntime-react-native.js",
"prepack": "npm run build",
"prepublishOnly": "npm test",
"publish:npm": "npm publish --access public",
"test": "npm run build:test && node --test tests/*.test.js",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "npm run typecheck"
},
"keywords": [
"react-native",
"tts",
"text-to-speech",
"speech-synthesis",
"on-device",
"onnx",
"kitten",
"ai",
"ml"
],
"author": "KittenML",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/KittenML/kittentts-react-native"
},
"homepage": "https://github.com/KittenML/kittentts-react-native#readme",
"bugs": {
"url": "https://github.com/KittenML/kittentts-react-native/issues"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-native": ">=0.72.0",
"expo-audio": ">=1.0.0",
"react-native-sound": ">=0.13.0"
},
"peerDependenciesMeta": {
"expo-audio": {
"optional": true
},
"react-native-sound": {
"optional": true
}
},
"devDependencies": {
"@types/pako": "^2.0.3",
"@types/react": "^18.2.0",
"@types/react-native": "^0.72.0",
"react": "^18.2.0",
"react-native": "^0.73.0",
"typescript": "^5.3.0"
},
"dependencies": {
"onnxruntime-react-native": "^1.24.3",
"onnxruntime-web": "^1.24.3",
"react-native-fs": "npm:@dr.pogodin/react-native-fs@^2.38.2",
"pako": "^2.1.0"
}
}