forked from jaredwray/writr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.41 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
115
116
117
118
119
120
{
"name": "writr",
"version": "6.1.3",
"description": "Markdown Rendering Simplified",
"type": "module",
"packageManager": "pnpm@11.6.0",
"main": "./dist/writr.mjs",
"types": "./dist/writr.d.mts",
"exports": {
".": {
"types": "./dist/writr.d.mts",
"import": "./dist/writr.mjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/jaredwray/writr.git"
},
"author": "Jared Wray <me@jaredwray.com>",
"engines": {
"node": "^22.18.0"
},
"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": "tsdown src/writr.ts --format esm --dts",
"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",
"test:harness": "vitest run --config vitest.harness.config.ts",
"corpus:fetch": "tsx test/harness/fetch/fetcher.ts",
"corpus:fetch:offline": "tsx test/harness/fetch/fetcher.ts --offline",
"golden:generate": "tsx test/harness/generate-goldens.ts",
"golden:check": "tsx test/harness/generate-goldens.ts --check",
"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.203",
"cacheable": "^2.3.5",
"hashery": "^3.0.0",
"hookified": "^3.0.0",
"html-react-parser": "^6.1.3",
"js-yaml": "^4.2.0",
"react": "^19.2.7",
"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.4.3"
},
"devDependencies": {
"@ai-sdk/anthropic": "^3.0.84",
"@ai-sdk/google": "^3.0.82",
"@ai-sdk/openai": "^3.0.71",
"@biomejs/biome": "^2.5.0",
"@monstermann/tinybench-pretty-printer": "^0.3.0",
"@types/js-yaml": "^4.0.9",
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.13.2",
"@types/react": "^19.2.17",
"@vitest/coverage-v8": "^4.1.8",
"docula": "^2.0.0",
"dotenv": "^17.3.1",
"markdown-it": "^14.2.0",
"marked": "^18.0.5",
"rimraf": "^6.1.3",
"tinybench": "^6.0.2",
"tsdown": "^0.22.2",
"tsx": "^4.22.4",
"typescript": "^6.0.3",
"vitest": "^4.1.8"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}