@ai-gui/image 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@ai-gui/image",
3
+ "version": "0.31.0",
4
+ "description": "Render AIGUI markdown blocks (charts, diagrams, math, tables, cards) to PNG in a headless browser.",
5
+ "keywords": [
6
+ "llm",
7
+ "ai",
8
+ "markdown",
9
+ "chart",
10
+ "screenshot",
11
+ "png",
12
+ "headless",
13
+ "aigui"
14
+ ],
15
+ "license": "MIT",
16
+ "author": "Liang Li <ll_faw@hotmail.com>",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/liliang-cn/aigui.git",
20
+ "directory": "packages/image"
21
+ },
22
+ "homepage": "https://github.com/liliang-cn/aigui#readme",
23
+ "bugs": "https://github.com/liliang-cn/aigui/issues",
24
+ "type": "module",
25
+ "sideEffects": false,
26
+ "engines": {
27
+ "node": ">=18"
28
+ },
29
+ "main": "./dist/index.cjs",
30
+ "module": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "import": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/index.d.cts",
40
+ "default": "./dist/index.cjs"
41
+ }
42
+ },
43
+ "./package.json": "./package.json"
44
+ },
45
+ "files": [
46
+ "dist",
47
+ "README.md",
48
+ "LICENSE"
49
+ ],
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "dependencies": {
54
+ "katex": "^0.16.9",
55
+ "@ai-gui/core": "0.31.0",
56
+ "@ai-gui/vanilla": "0.31.0",
57
+ "@ai-gui/plugin-chart": "0.31.0",
58
+ "@ai-gui/plugin-mermaid": "0.31.0",
59
+ "@ai-gui/plugin-katex": "0.31.0",
60
+ "@ai-gui/plugin-dashboard": "0.31.0"
61
+ },
62
+ "peerDependencies": {
63
+ "playwright": "^1.48.0"
64
+ },
65
+ "peerDependenciesMeta": {
66
+ "playwright": {
67
+ "optional": true
68
+ }
69
+ },
70
+ "devDependencies": {
71
+ "@types/node": "^22.0.0",
72
+ "playwright": "^1.48.0",
73
+ "vite": "^5.4.0"
74
+ },
75
+ "scripts": {
76
+ "build": "tsdown && vite build --config vite.page.config.ts",
77
+ "test": "pnpm --dir ../.. exec vitest run --project image",
78
+ "typecheck": "tsc --noEmit"
79
+ }
80
+ }