-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.06 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.06 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "writr",
"version": "6.1.1",
"description": "Markdown Rendering Simplified",
"type": "module",
"main": "./dist/writr.js",
"types": "./dist/writr.d.ts",
"exports": {
".": {
"types": "./dist/writr.d.ts",
"import": "./dist/writr.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/jaredwray/writr.git"
},
"author": "Jared Wray <me@jaredwray.com>",
"engines": {
"node": ">=20"
},
"license": "MIT",
"keywords": [
"markdown",
"html",
"renderer",
"markdown-to-html",
"toc",
"table-of-contents",
"emoji",
"syntax-highlighting",
"markdown-processor",
"github-flavored-markdown",
"gfm",
"remark-plugin",
"rehype-plugin",
"markdown-editor",
"content-management",
"documentation-tool",
"blogging",
"markdown-extension",
"seo-friendly",
"markdown-anchors",
"remark",
"rehype",
"react",
"react-component",
"react-markdown",
"markdown-to-react"
],
"scripts": {
"clean": "rimraf ./dist ./coverage ./node_modules ./pnpm-lock.yaml ./site/README.md ./site/dist",
"build": "rimraf ./dist && tsup src/writr.ts --format esm --dts --clean",
"prepublishOnly": "pnpm build",
"lint": "biome check --write --error-on-warnings",
"benchmark": "tsx benchmark/benchmark-minimal.ts && tsx benchmark/benchmark-standard.ts",
"test": "pnpm lint && vitest run --coverage",
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
"test:integration": "vitest run --config vitest.integration.config.ts",
"website:build": "rimraf ./site/README.md ./site/dist && pnpm docula build",
"website:serve": "rimraf ./site/README.md ./site/dist && pnpm docula dev"
},
"dependencies": {
"ai": "^6.0.138",
"cacheable": "^2.3.4",
"hashery": "^1.5.1",
"hookified": "^2.1.0",
"html-react-parser": "^5.2.17",
"js-yaml": "^4.1.1",
"react": "^19.2.4",
"rehype-highlight": "^7.0.2",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark-emoji": "^5.0.2",
"remark-gfm": "^4.0.1",
"remark-github-blockquote-alert": "^2.1.0",
"remark-math": "^6.0.0",
"remark-mdx": "^3.1.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"remark-toc": "^9.0.0",
"unified": "^11.0.5",
"zod": "^4.3.6"
},
"devDependencies": {
"@ai-sdk/anthropic": "^3.0.64",
"@ai-sdk/google": "^3.0.53",
"@ai-sdk/openai": "^3.0.48",
"@biomejs/biome": "^2.4.8",
"@monstermann/tinybench-pretty-printer": "^0.3.0",
"@types/js-yaml": "^4.0.9",
"@types/markdown-it": "^14.1.2",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@vitest/coverage-v8": "^4.1.1",
"docula": "^1.10.0",
"dotenv": "^17.3.1",
"markdown-it": "^14.1.1",
"marked": "^17.0.5",
"rimraf": "^6.1.3",
"tinybench": "^6.0.0",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.1.1"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}