-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 2.24 KB
/
package.json
File metadata and controls
53 lines (53 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
{
"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",
"check:schema:json": "for f in schema/*/schema.ts; do typescript-json-schema --defaultNumberType integer --required --skipLibCheck \"$f\" \"*\" | cat | cmp \"${f%.ts}.json\" - || exit 1; done",
"check:schema:md": "for f in docs/specification/*/schema.mdx; do typedoc --entryPoints \"schema/$(basename -- $(dirname -- \"$f\"))/schema.ts\" | cmp \"$f\" - || 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 && mintlify broken-links",
"generate:schema": "npm run generate:schema:json && npm run generate:schema:md",
"generate:schema:json": "for f in schema/*/schema.ts; do typescript-json-schema --defaultNumberType integer --required --skipLibCheck \"$f\" \"*\" -o \"${f%.ts}.json\"; done",
"generate:schema:md": "for f in docs/specification/*/schema.mdx; do typedoc --entryPoints \"schema/$(basename -- $(dirname -- \"$f\"))/schema.ts\" > \"$f\"; done",
"format": "prettier --write \"**/*.{md,mdx}\" --ignore \"docs/specification/*/schema.mdx\" ",
"serve:docs": "cd docs && mintlify dev",
"serve:blog": "cd blog && hugo serve"
},
"devDependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"glob": "^11.0.0",
"mintlify": "^4.0",
"prettier": "^3.4.2",
"tsx": "^4.19.1",
"typedoc": "^0.28.7",
"typescript": "^5.6.2",
"typescript-json-schema": "^0.65.1"
},
"resolutions": {
"fast-json-patch": "^3.1.1"
}
}