-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.85 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.85 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
{
"name": "mcp-widgets",
"version": "0.0.3",
"description": "UI widgets for MCP integrations (OpenAI, etc.)",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./schemas": {
"types": "./dist/schemas/index.d.ts",
"import": "./dist/schemas/index.js"
},
"./widgets/*": {
"types": "./dist/widgets/*/index.d.ts",
"import": "./dist/widgets/*/index.js"
}
},
"files": [
"dist",
"cdn",
"README.md",
"LICENSE"
],
"scripts": {
"build": "pnpm run build:types && pnpm run build:esm && pnpm run build:cdn",
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",
"build:esm": "tsc -p tsconfig.build.json",
"build:cdn": "node scripts/build-cdn.js",
"build:css": "npx @tailwindcss/cli -i ./src/styles/base.css -o ./dist/styles.css",
"clean": "rimraf dist cdn *.tsbuildinfo",
"prepublishOnly": "pnpm run clean && pnpm run build && pnpm run validate:cdn",
"dev": "storybook dev -p 6006",
"build-storybook": "storybook build",
"check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"test": "vitest run",
"test:watch": "vitest",
"validate:cdn": "node scripts/validate-cdn.js"
},
"keywords": [
"mcp",
"widgets",
"openai",
"chatgpt",
"ui-components",
"web-components",
"react"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chatbotkit/mcp-widgets.git"
},
"peerDependencies": {
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@r2wc/react-to-web-component": "^2.0.3",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.4.7",
"@tailwindcss/cli": "^4.0.0",
"@tailwindcss/vite": "^4.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.3.4",
"esbuild": "^0.24.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"glob": "^11.0.0",
"prettier": "^3.4.2",
"react": "^18",
"react-dom": "^18",
"rimraf": "^5.0.10",
"storybook": "^8.4.7",
"tailwindcss": "^4.0.0",
"typescript": "^5.7.2",
"vite": "^6.0.6",
"vitest": "^2.1.8"
},
"dependencies": {
"zod": "^3.25.76",
"zod-to-json-schema": "^3.25.0"
}
}