@wingleeio/mugen-markdown 0.1.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/LICENSE +21 -0
- package/README.md +183 -0
- package/dist/index.cjs +1903 -0
- package/dist/index.d.cts +498 -0
- package/dist/index.d.mts +498 -0
- package/dist/index.mjs +1861 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wingleeio/mugen-markdown",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Measurable markdown for mugen — incremark-parsed, rendered with mugen primitives so the virtualizer's tree walker computes exact row heights.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Wing Lee <contact@winglee.io>",
|
|
7
|
+
"homepage": "https://mugen.winglee.dev",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/wingleeio/mugen.git",
|
|
11
|
+
"directory": "packages/mugen-markdown"
|
|
12
|
+
},
|
|
13
|
+
"bugs": "https://github.com/wingleeio/mugen/issues",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"react",
|
|
16
|
+
"markdown",
|
|
17
|
+
"incremental",
|
|
18
|
+
"streaming",
|
|
19
|
+
"virtualization",
|
|
20
|
+
"mugen",
|
|
21
|
+
"gfm"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"main": "./dist/index.cjs",
|
|
32
|
+
"module": "./dist/index.mjs",
|
|
33
|
+
"types": "./dist/index.d.mts",
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/index.d.mts",
|
|
38
|
+
"default": "./dist/index.mjs"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./dist/index.d.cts",
|
|
42
|
+
"default": "./dist/index.cjs"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@incremark/core": "^1.0.2",
|
|
48
|
+
"@chenglou/pretext": "0.0.7",
|
|
49
|
+
"@types/mdast": "^4.0.4"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@wingleeio/mugen": ">=0.3.0 <1.0.0",
|
|
53
|
+
"react": "^18.2.0 || ^19.0.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@testing-library/react": "^16.3.2",
|
|
57
|
+
"@types/react": "^19.2.15",
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
59
|
+
"@vitest/browser": "^4.1.8",
|
|
60
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
61
|
+
"happy-dom": "^20.10.1",
|
|
62
|
+
"playwright": "^1.60.0",
|
|
63
|
+
"react": "^19.2.6",
|
|
64
|
+
"react-dom": "^19.2.6",
|
|
65
|
+
"tsdown": "^0.22.2",
|
|
66
|
+
"typescript": "^6.0.3",
|
|
67
|
+
"vitest": "^4.1.8",
|
|
68
|
+
"@wingleeio/mugen": "0.3.0"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "tsdown",
|
|
72
|
+
"dev": "tsdown --watch",
|
|
73
|
+
"check-types": "tsc --noEmit",
|
|
74
|
+
"test": "vitest run",
|
|
75
|
+
"test:watch": "vitest",
|
|
76
|
+
"test:browser": "vitest run --config vitest.browser.config.ts",
|
|
77
|
+
"clean": "rm -rf dist .turbo"
|
|
78
|
+
}
|
|
79
|
+
}
|