talking-head-studio 0.2.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "talking-head-studio",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "Cross-platform 3D avatar component for React Native & web — lip-sync, gestures, accessories, and LLM integration. Powered by TalkingHead + Three.js.",
5
5
  "main": "dist/index.web.js",
6
6
  "browser": "dist/index.web.js",
@@ -28,6 +28,19 @@
28
28
  "./sketchfab": {
29
29
  "types": "./dist/sketchfab/index.d.ts",
30
30
  "default": "./dist/sketchfab/index.js"
31
+ },
32
+ "./api": {
33
+ "types": "./dist/api/index.d.ts",
34
+ "default": "./dist/api/index.js"
35
+ },
36
+ "./wardrobe": {
37
+ "types": "./dist/wardrobe/index.d.ts",
38
+ "default": "./dist/wardrobe/index.js"
39
+ },
40
+ "./filament": {
41
+ "react-native": "./dist/filament/index.js",
42
+ "types": "./dist/filament/index.d.ts",
43
+ "default": "./dist/filament/index.js"
31
44
  }
32
45
  },
33
46
  "files": [
@@ -35,7 +48,7 @@
35
48
  ],
36
49
  "scripts": {
37
50
  "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
38
- "build": "npm run clean && tsc --project tsconfig.json",
51
+ "build": "npm run clean && tsc --project tsconfig.json && mkdir -p dist/assets && cp src/assets/*.glb dist/assets/",
39
52
  "typecheck": "tsc --noEmit",
40
53
  "lint": "eslint 'src/**/*.{ts,tsx}'",
41
54
  "format": "prettier --write 'src/**/*.{ts,tsx}'",
@@ -78,11 +91,17 @@
78
91
  "url": "https://github.com/sitebay/talking-head-studio/issues"
79
92
  },
80
93
  "sideEffects": false,
94
+ "dependencies": {
95
+ "zustand": "^5.0.12"
96
+ },
81
97
  "peerDependencies": {
82
98
  "@react-three/drei": ">=9",
83
99
  "@react-three/fiber": ">=8",
100
+ "expo-asset": ">=10",
101
+ "expo-file-system": ">=17",
84
102
  "react": ">=18",
85
103
  "react-native": ">=0.73",
104
+ "react-native-filament": ">=1",
86
105
  "react-native-webview": ">=13",
87
106
  "three": ">=0.170"
88
107
  },
@@ -93,6 +112,15 @@
93
112
  "react-native-webview": {
94
113
  "optional": true
95
114
  },
115
+ "react-native-filament": {
116
+ "optional": true
117
+ },
118
+ "expo-asset": {
119
+ "optional": true
120
+ },
121
+ "expo-file-system": {
122
+ "optional": true
123
+ },
96
124
  "@react-three/fiber": {
97
125
  "optional": true
98
126
  },