@pierre/words 0.0.0-stage → 0.1.1
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.md +189 -0
- package/NOTICE.md +25 -0
- package/README.md +156 -2
- package/dist/core.d.ts +41 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +147 -0
- package/dist/core.js.map +1 -0
- package/dist/dom-BAclEeRf.js +1094 -0
- package/dist/dom-BAclEeRf.js.map +1 -0
- package/dist/highlights.d.ts +8 -0
- package/dist/highlights.d.ts.map +1 -0
- package/dist/highlights.js +151 -0
- package/dist/highlights.js.map +1 -0
- package/dist/html.d.ts +23 -0
- package/dist/html.d.ts.map +1 -0
- package/dist/html.js +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/md.wasm +0 -0
- package/dist/md.wasm.mjs +4 -0
- package/dist/react.d.ts +19 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +75 -0
- package/dist/react.js.map +1 -0
- package/dist/render-y9ZqP3xY.d.ts +33 -0
- package/dist/render-y9ZqP3xY.d.ts.map +1 -0
- package/dist/styles.css +164 -0
- package/dist/types-JH3jubk_.d.ts +65 -0
- package/dist/types-JH3jubk_.d.ts.map +1 -0
- package/dist/types.d.ts +42 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/workerd.d.ts +3 -0
- package/dist/workerd.js +8 -0
- package/dist/workerd.js.map +1 -0
- package/package.json +71 -4
package/package.json
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pierre/words",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A fast markdown renderer written in WebAssembly Text.",
|
|
5
|
+
"license": "apache-2.0",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/",
|
|
8
|
+
"!dist/benchmark/",
|
|
9
|
+
"LICENSE.md",
|
|
10
|
+
"NOTICE.md"
|
|
11
|
+
],
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"workerd": "./dist/workerd.js",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./react": {
|
|
23
|
+
"types": "./dist/react.d.ts",
|
|
24
|
+
"import": "./dist/react.js",
|
|
25
|
+
"default": "./dist/react.js"
|
|
26
|
+
},
|
|
27
|
+
"./highlights": {
|
|
28
|
+
"types": "./dist/highlights.d.ts",
|
|
29
|
+
"import": "./dist/highlights.js",
|
|
30
|
+
"default": "./dist/highlights.js"
|
|
31
|
+
},
|
|
32
|
+
"./html": {
|
|
33
|
+
"types": "./dist/html.d.ts",
|
|
34
|
+
"import": "./dist/html.js",
|
|
35
|
+
"default": "./dist/html.js"
|
|
36
|
+
},
|
|
37
|
+
"./styles.css": "./dist/styles.css"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"prepublishOnly": "moon run words:prepublish"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@pierre/highlights": "workspace:*",
|
|
44
|
+
"@pierre/wat-tools": "workspace:*",
|
|
45
|
+
"@playwright/test": "catalog:",
|
|
46
|
+
"@streamdown/code": "catalog:",
|
|
47
|
+
"@types/bun": "catalog:",
|
|
48
|
+
"@types/jsdom": "catalog:",
|
|
49
|
+
"@types/react": "catalog:",
|
|
50
|
+
"@types/react-dom": "catalog:",
|
|
51
|
+
"jsdom": "catalog:",
|
|
52
|
+
"markdown-it": "catalog:",
|
|
53
|
+
"md4x": "catalog:",
|
|
54
|
+
"react": "catalog:",
|
|
55
|
+
"react-dom": "catalog:",
|
|
56
|
+
"shiki": "catalog:",
|
|
57
|
+
"streamdown": "catalog:",
|
|
58
|
+
"tsdown": "catalog:",
|
|
59
|
+
"typescript": "catalog:"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@pierre/highlights": ">=0.5.1",
|
|
63
|
+
"react": "^18.3.1 || ^19.0.0"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"react": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"@pierre/highlights": {
|
|
70
|
+
"optional": true
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|