forked from modelcontextprotocol/modelcontextprotocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.24 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 2.24 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
{
"name": "@modelcontextprotocol/specification",
"private": true,
"version": "0.1.0",
"description": "Model Context Protocol specification and protocol schema",
"license": "MIT",
"author": "Anthropic, PBC (https://anthropic.com)",
"homepage": "https://modelcontextprotocol.io",
"bugs": "https://github.com/modelcontextprotocol/specification/issues",
"engines": {
"node": ">=20"
},
"prettier": {
"overrides": [
{
"files": "*.{md,mdx}",
"options": {
"proseWrap": "preserve"
}
}
]
},
"scripts": {
"check": "npm run check:schema && npm run check:docs",
"check:schema": "npm run check:schema:ts && npm run check:schema:json && npm run check:schema:md",
"check:schema:ts": "tsc --noEmit && eslint schema/ && prettier --check \"schema/**/*.ts\"",
"check:schema:json": "tsx scripts/generate-schemas.ts --check",
"check:schema:md": "for f in schema/*/schema.mdx; do typedoc --entryPoints \"${f%.mdx}.ts\" --schemaPageTemplate \"$f\" | cmp docs/specification/$(basename -- $(dirname -- \"$f\"))/schema.mdx - || exit 1; done",
"check:docs": "npm run check:docs:format && npm run check:docs:links",
"check:docs:format": "prettier --check \"**/*.{md,mdx}\"",
"check:docs:links": "cd docs && npx mint broken-links",
"generate:schema": "npm run generate:schema:json && npm run generate:schema:md",
"generate:schema:json": "tsx scripts/generate-schemas.ts",
"generate:schema:md": "for f in schema/*/schema.mdx; do typedoc --entryPoints \"${f%.mdx}.ts\" --schemaPageTemplate \"$f\" > docs/specification/$(basename -- $(dirname -- \"$f\"))/schema.mdx; done",
"format": "prettier --write \"**/*.{md,mdx}\" --ignore \"docs/specification/*/schema.mdx\" ",
"serve:docs": "cd docs && npx mint dev",
"serve:blog": "cd blog && hugo serve"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"eslint": "^9.8.0",
"eslint-config-prettier": "^10.1.8",
"glob": "^11.0.0",
"prettier": "^3.6.2",
"tsx": "^4.19.1",
"typedoc": "^0.28.14",
"typescript": "^5.6.2",
"typescript-eslint": "^8.0.0",
"typescript-json-schema": "^0.65.1"
},
"resolutions": {
"fast-json-patch": "^3.1.1"
}
}