-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.13 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.13 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
{
"name": "@a2ui/markdown-it",
"version": "0.0.2",
"description": "A Markdown renderer using markdown-it and dompurify.",
"repository": {
"directory": "renderers/markdown/markdown-it",
"type": "git",
"url": "git+https://github.com/google/A2UI.git"
},
"bugs": {
"url": "https://github.com/google/A2UI/issues"
},
"keywords": [
"a2ui",
"markdown",
"ai",
"agent",
"ui",
"renderer"
],
"license": "Apache-2.0",
"author": "Google",
"type": "module",
"main": "./dist/src/markdown.js",
"types": "./dist/src/markdown.d.ts",
"exports": {
".": {
"types": "./dist/src/markdown.d.ts",
"default": "./dist/src/markdown.js"
}
},
"files": [
"dist/src"
],
"scripts": {
"build": "wireit",
"format": "prettier --ignore-path ../.gitignore --write .",
"format:check": "prettier --ignore-path ../.gitignore --check .",
"prepublishOnly": "node -e \"if(!process.cwd().endsWith('dist')) { console.error('Error: This package must be published from the dist/ directory. Run `npm run build` then `npm publish dist/`'); process.exit(1); }\"",
"publish:package": "npm run build && node prepare-publish.mjs && npm publish dist/ --access public",
"test": "wireit"
},
"dependencies": {
"dompurify": "^3.3.2",
"markdown-it": "^14.1.0"
},
"devDependencies": {
"@a2ui/web_core": "file:../../web_core",
"@types/dompurify": "^3.0.5",
"@types/jsdom": "^28.0.0",
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.10.1",
"jsdom": "^28.1.0",
"prettier": "^3.4.2",
"typescript": "^5.8.3",
"wireit": "^0.15.0-pre.2"
},
"peerDependencies": {
"@a2ui/web_core": "file:../../web_core"
},
"wireit": {
"build": {
"command": "tsc -b --pretty",
"files": [
"src/**/*.ts",
"src/**/*.json",
"tsconfig.json"
],
"output": [
"dist/",
"!dist/**/*.min.js{,.map}"
],
"clean": "if-file-deleted"
},
"test": {
"command": "node --test --enable-source-maps --test-reporter spec dist/src/*.test.js",
"dependencies": [
"build"
]
}
}
}