-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.41 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.41 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
{
"name": "webmcp-react",
"version": "0.1.0",
"description": "React hooks for exposing your app's functionality as WebMCP tools - transport-agnostic, SSR-safe, Strict Mode safe, W3C spec-aligned",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js",
"require": "./dist/types.cjs"
}
},
"files": [
"dist"
],
"sideEffects": false,
"keywords": [
"webmcp",
"mcp",
"model-context-protocol",
"react",
"hooks",
"ai",
"navigator.modelContext",
"w3c"
],
"author": "Kashish Hora",
"contributors": [
"Naseem Alnaji"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MCPCat/webmcp-react.git"
},
"homepage": "https://github.com/MCPCat/webmcp-react",
"bugs": {
"url": "https://github.com/MCPCat/webmcp-react/issues"
},
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"dev:playground": "pnpm --filter webmcp-react-playground dev",
"dev:nextjs": "pnpm --filter webmcp-react-nextjs-example dev",
"build:extension": "pnpm --filter webmcp-bridge-extension build",
"typecheck:extension": "pnpm --filter webmcp-bridge-extension typecheck",
"prepare": "husky"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
"zod": ">=3.0.0"
},
"dependencies": {
"zod-to-json-schema": "^3.24.1"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"husky": "^9.1.7",
"jsdom": "^26.0.0",
"lint-staged": "^16.2.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.4.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0",
"zod": "^3.24.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"biome check --write --no-errors-on-unmatched"
],
"*.json": [
"biome format --write --no-errors-on-unmatched"
]
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}