-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) 路 2.79 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) 路 2.79 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
{
"name": "@ant-design/x-markdown",
"version": "2.6.0",
"scripts": {
"compile": "father build",
"tsc": "tsc --noEmit",
"prepublishOnly": "tsx ../../scripts/pre-publish.ts x-markdown",
"lint": "npm run version && npm run tsc && npm run lint:script && npm run lint:md",
"lint:md": "remark . -f -q",
"lint:script": "biome lint",
"pretest": "npm run prestart",
"predist": "npm run prestart",
"test": "jest --config .jest.js --no-cache --collect-coverage",
"coverage": "jest --config .jest.js --no-cache --collect-coverage --coverage",
"plugin:meta": "tsx scripts/generate-plugin-meta.ts",
"prestart": "npm run version && npm run plugin:meta",
"precompile": "npm run prestart",
"version": "tsx scripts/generate-version.ts",
"test:dekko": "tsx ./tests/dekko/index.test.ts",
"clean": "rm -rf es lib coverage plugins dist themes",
"test:package-diff": "antd-tools run package-diff",
"token:meta": "tsx scripts/generate-token-meta.ts",
"token:statistic": "tsx scripts/collect-token-statistic.ts",
"benchmark": "cd src/XMarkdown/__benchmark__ && node scripts/run-benchmark.js",
"benchmark:check": "cd src/XMarkdown/__benchmark__ && node scripts/check-performance.js ./test-results/benchmark-results.json ./benchmark-check-report.txt"
},
"sideEffects": [
"**/*.css"
],
"main": "lib/index.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"files": [
"dist",
"es",
"lib",
"plugins",
"themes"
],
"homepage": "https://x.ant.design/x-markdowns/introduce",
"bugs": {
"url": "https://github.com/ant-design/x/issues"
},
"keywords": [
"AI",
"Agent",
"Copilot",
"ant",
"markdown",
"framework",
"react"
],
"license": "MIT",
"description": "placeholder for @ant-design/x-markdown",
"dependencies": {
"clsx": "^2.1.1",
"dompurify": "^3.2.6",
"html-react-parser": "^5.2.13",
"katex": "^0.16.22",
"marked": "^18.0.2"
},
"devDependencies": {
"@playwright/experimental-ct-react": "^1.56.1",
"@playwright/test": "^1.56.1",
"@types/dompurify": "^3.0.5",
"@types/lodash.throttle": "^4.1.9",
"@types/markdown-it": "^14.1.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@types/react-syntax-highlighter": "^15.5.13",
"@umijs/mako": "^0.11.10",
"markdown-it": "^14.0.0",
"markdown-it-katex": "^2.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-markdown": "^10.1.0",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"streamdown": "^2.4.0",
"vite": "^8.0.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/ant-design/x"
}
}