-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.28 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.28 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
{
"name": "@opticlm/streamup",
"version": "0.2.1",
"description": "A simple, headless React streaming markdown renderer",
"type": "module",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./katex": {
"types": "./dist/katex/index.d.ts",
"default": "./dist/katex/index.js"
},
"./mermaid": {
"types": "./dist/mermaid/index.d.ts",
"default": "./dist/mermaid/index.js"
}
},
"files": ["dist/**/*.js", "dist/**/*.d.ts", "LICENSE"],
"scripts": {
"build": "tsup",
"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", "incomplete"],
"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-sanitize": "^5.0.2",
"hast-util-to-jsx-runtime": "^2.3.6",
"html-url-attributes": "^3.0.1",
"marked": "^17.0.5",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-cjk-friendly": "^2.0.1",
"remark-cjk-friendly-gfm-strikethrough": "^2.0.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.4",
"@types/mdast": "^4.0.4",
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/unist": "^3.0.3",
"jsdom": "^26.1.0",
"katex": "^0.16.22",
"mermaid": "^11.6.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rehype-katex": "^7.0.1",
"tsup": "^8.5.1",
"typescript": "^5.9",
"vitest": "^4"
},
"engines": {
"node": ">=18.0.0"
}
}