@trailheadai/chat 0.1.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 ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@trailheadai/chat",
3
+ "version": "0.1.0",
4
+ "description": "Embeddable React chat widget for lead qualification",
5
+ "type": "module",
6
+ "main": "./dist/widget.umd.js",
7
+ "module": "./dist/widget.es.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/widget.es.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./styles": {
15
+ "default": "./dist/index.css"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "README.md"
21
+ ],
22
+ "scripts": {
23
+ "dev": "vite build --watch",
24
+ "build": "vite build",
25
+ "preview": "vite preview",
26
+ "test": "vitest --run",
27
+ "test:e2e": "echo 'E2E tests not implemented yet'",
28
+ "lint": "eslint .",
29
+ "typecheck": "tsc --noEmit"
30
+ },
31
+ "keywords": [
32
+ "widget",
33
+ "chat",
34
+ "lead-qualification",
35
+ "embeddable",
36
+ "react"
37
+ ],
38
+ "author": "",
39
+ "license": "ISC",
40
+ "peerDependencies": {
41
+ "react": "^18.0.0 || ^19.0.0",
42
+ "react-dom": "^18.0.0 || ^19.0.0"
43
+ },
44
+ "dependencies": {
45
+ "@ai-sdk/react": "^2.0.116",
46
+ "@tailwindcss/vite": "^4.1.18",
47
+ "@trailheadai/shared": "workspace:*",
48
+ "ai": "^5.0.114",
49
+ "clsx": "^2.1.1",
50
+ "color": "^5.0.3",
51
+ "lucide-react": "^0.545.0",
52
+ "react-hook-form": "^7.68.0",
53
+ "tailwindcss": "^4.1.18",
54
+ "uuid": "^13.0.0",
55
+ "zod": "^4.2.1"
56
+ },
57
+ "devDependencies": {
58
+ "@trailheadai/ui": "workspace:*",
59
+ "@types/react": "^19.2.5",
60
+ "@types/react-dom": "^19.2.3",
61
+ "@vitejs/plugin-react": "^5.1.1",
62
+ "react": "^19.2.0",
63
+ "react-dom": "^19.2.0",
64
+ "typescript": "~5.9.3",
65
+ "vite": "^7.2.4",
66
+ "vite-plugin-dts": "^4.5.4",
67
+ "vite-plugin-lib-inject-css": "^2.2.2",
68
+ "vitest": "^3.2.4"
69
+ }
70
+ }