react-mcp-chatbot 0.0.6 → 1.0.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,25 +1,35 @@
1
1
  {
2
2
  "name": "react-mcp-chatbot",
3
- "version": "0.0.6",
4
- "description": "A React MCP-style AI chatbot component with tool calling and backend integration",
3
+ "version": "1.0.0",
4
+ "description": "Client-side AI chatbot for React: describe your backend APIs and the model calls them. OpenAI, Anthropic, Gemini, DeepSeek, Groq, Ollama and more.",
5
5
  "type": "module",
6
- "main": "dist/index.js",
6
+ "main": "dist/index.cjs",
7
7
  "types": "dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "require": "./dist/index.js"
10
+ "import": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
13
18
  }
14
19
  },
15
20
  "files": [
16
- "dist"
21
+ "dist",
22
+ "README.md",
23
+ "CHANGELOG.md",
24
+ "LICENSE"
17
25
  ],
18
26
  "sideEffects": false,
19
27
  "scripts": {
20
- "build": "tsup src/index.tsx --format esm --dts --clean",
21
- "dev": "tsup src/index.tsx --watch",
22
- "prepublishOnly": "npm run build"
28
+ "build": "tsup",
29
+ "dev": "tsup --watch",
30
+ "typecheck": "tsc --noEmit",
31
+ "test": "vitest run",
32
+ "prepublishOnly": "npm run typecheck && npm test && npm run build"
23
33
  },
24
34
  "peerDependencies": {
25
35
  "react": ">=18",
@@ -33,7 +43,8 @@
33
43
  "@types/react": "^19.2.10",
34
44
  "tsup": "^8.5.1",
35
45
  "typescript": "^5.9.3",
36
- "vite": "^7.3.1"
46
+ "vite": "^7.3.1",
47
+ "vitest": "^5.1.0"
37
48
  },
38
49
  "license": "MIT",
39
50
  "keywords": [
@@ -50,17 +61,26 @@
50
61
  "assistant",
51
62
  "ai-ui",
52
63
  "copilot",
53
- "llm-agent"
64
+ "llm-agent",
65
+ "openai",
66
+ "anthropic",
67
+ "gemini",
68
+ "deepseek",
69
+ "groq",
70
+ "openapi",
71
+ "function-calling",
72
+ "mcp"
54
73
  ],
55
74
  "repository": {
56
75
  "type": "git",
57
76
  "url": "https://github.com/TigranZakharyan/react-mcp-chatbot"
58
77
  },
59
- "homepage": "https://github.com/TigranZakharyan/react-mcp-chatbot#readme",
78
+ "homepage": "https://tigranzakharyan.github.io/react-mcp-chatbot/",
60
79
  "bugs": {
61
80
  "url": "https://github.com/TigranZakharyan/react-mcp-chatbot/issues"
62
81
  },
63
82
  "engines": {
64
83
  "node": ">=18"
65
- }
84
+ },
85
+ "module": "dist/index.js"
66
86
  }
@@ -1,3 +0,0 @@
1
- <svg width="24px" height="24px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
2
- <path fill="#ffffff" d="M27.71,4.29a1,1,0,0,0-1.05-.23l-22,8a1,1,0,0,0,0,1.87l8.59,3.43L19.59,11,21,12.41l-6.37,6.37,3.44,8.59A1,1,0,0,0,19,28h0a1,1,0,0,0,.92-.66l8-22A1,1,0,0,0,27.71,4.29Z"/>
3
- </svg>