-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.37 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
93
{
"name": "@opticlm/streamup",
"version": "1.2.1",
"description": "A lightweight, headless React streaming markdown renderer",
"type": "module",
"types": "dist/index.d.mts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./katex": {
"types": "./dist/katex/index.d.mts",
"default": "./dist/katex/index.mjs"
},
"./mermaid": {
"types": "./dist/mermaid/index.d.mts",
"default": "./dist/mermaid/index.mjs"
},
"./code-block": {
"types": "./dist/code-block/index.d.mts",
"default": "./dist/code-block/index.mjs"
}
},
"files": ["dist/**/*.mjs", "dist/**/*.d.mts", "LICENSE"],
"scripts": {
"build": "tsdown",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"prepublishOnly": "npm run build"
},
"keywords": ["markdown", "stream"],
"author": "EFLKumo",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/OpticLM/streamup"
},
"peerDependencies": {
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
},
"peerDependenciesMeta": {
"katex": {
"optional": true
},
"mermaid": {
"optional": true
}
},
"dependencies": {
"hast-util-from-html-isomorphic": "^2.0.0",
"hast-util-to-jsx-runtime": "^2.3.6",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-cjk-friendly": "^2.3.1",
"remark-cjk-friendly-gfm-strikethrough": "^2.3.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"remend": "^1.3.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.6",
"@testing-library/react": "^16.3.0",
"@types/hast": "^3.0.5",
"@types/mdast": "^4.0.4",
"@types/node": "^25.9.5",
"@types/react": "^19.2.17",
"@types/react-dom": "^19",
"@types/unist": "^3.0.3",
"jsdom": "^26.1.0",
"katex": "^0.16.47",
"mermaid": "^11.16.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"tsdown": "^0.22.4",
"typescript": "^5.9",
"vitest": "^4.1.10"
},
"engines": {
"node": ">=18.0.0"
}
}