@yumiai/chat-widget 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,67 @@
1
+ {
2
+ "name": "@yumiai/chat-widget",
3
+ "version": "0.1.0",
4
+ "description": "JetPave ChatWidget SDK — Agent conversation UI component",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "./style.css": "./dist/index.css"
21
+ },
22
+ "files": ["dist", "README.md", "CHANGELOG.md"],
23
+ "sideEffects": ["*.css"],
24
+ "peerDependencies": {
25
+ "react": "^18.0.0 || ^19.0.0",
26
+ "react-dom": "^18.0.0 || ^19.0.0",
27
+ "antd": "^5.0.0 || ^6.0.0"
28
+ },
29
+ "peerDependenciesMeta": {
30
+ "@ant-design/icons": { "optional": true }
31
+ },
32
+ "dependencies": {
33
+ "streamdown": "^2.4.0",
34
+ "@streamdown/cjk": "^1.0.2",
35
+ "@streamdown/code": "^1.1.0",
36
+ "@streamdown/math": "^1.0.2",
37
+ "@streamdown/mermaid": "^1.0.2"
38
+ },
39
+ "devDependencies": {
40
+ "tsup": "^8.0.0",
41
+ "typescript": "~5.9.3",
42
+ "react": "^19.2.0",
43
+ "react-dom": "^19.2.0",
44
+ "antd": "^6.2.0",
45
+ "@ant-design/icons": "^6.1.0",
46
+ "@types/react": "^19.2.5",
47
+ "@types/react-dom": "^19.2.3",
48
+ "vitest": "^3.2.4",
49
+ "@testing-library/react": "^16.3.2",
50
+ "@testing-library/jest-dom": "^6.9.1",
51
+ "@vitejs/plugin-react": "^5.1.1",
52
+ "jsdom": "^27.0.1",
53
+ "msw": "^2.7.0",
54
+ "size-limit": "^11.0.0",
55
+ "@size-limit/preset-big-lib": "^11.0.0"
56
+ },
57
+ "scripts": {
58
+ "build": "tsup",
59
+ "dev": "tsup --watch",
60
+ "typecheck": "tsc --noEmit",
61
+ "test": "vitest run",
62
+ "test:watch": "vitest",
63
+ "lint": "echo 'lint placeholder'",
64
+ "size": "size-limit",
65
+ "prepublishOnly": "npm run build"
66
+ }
67
+ }