-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.65 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.65 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
{
"name": "cf-webmcp",
"version": "0.4.1",
"description": "WebMCP at the edge: a Cloudflare Worker that equips any website with WebMCP from a single TOML config.",
"license": "MIT",
"private": false,
"type": "module",
"scripts": {
"build": "tsx scripts/build-config.ts",
"build:schema": "tsx scripts/build-schema.ts",
"preflight": "tsx scripts/preflight.ts",
"update-widget": "tsx scripts/update-widget.ts",
"upload-widget": "tsx scripts/upload-widget.ts",
"dev:origin": "tsx scripts/dev-origin.ts",
"dev:worker": "cross-env CF_WEBMCP_CONFIG=templates/example-site/webmcp.toml npm run build && wrangler dev --config wrangler.dev.toml",
"dev": "npm run build && wrangler dev",
"deploy": "npm run build && wrangler deploy",
"pretest": "cross-env CF_WEBMCP_CONFIG=templates/example-site/webmcp.toml npm run build",
"test": "vitest run --config vitest.config.ts && vitest run --config vitest.node.config.ts",
"test:workers": "vitest run --config vitest.config.ts",
"test:scripts": "vitest run --config vitest.node.config.ts",
"test:watch": "vitest",
"pretypecheck": "cross-env CF_WEBMCP_CONFIG=templates/example-site/webmcp.toml npm run build",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"zod": "^3.23.8"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.16.10",
"@cloudflare/workers-types": "^4.20240909.0",
"@types/node": "^22.0.0",
"cross-env": "^7.0.3",
"tsx": "^4.19.0",
"typescript": "^5.6.0",
"vitest": "^4.1.7",
"wrangler": "^4.95.0",
"zod-to-json-schema": "^3.23.0"
},
"engines": {
"node": ">=20"
}
}