-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
162 lines (162 loc) · 4.36 KB
/
package.json
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "svelte-exmarkdown",
"description": "Svelte component to render markdown. Dynamic and Extensible.",
"version": "4.0.2",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"package": "svelte-package && node scripts/prebundle.js",
"preview": "vite preview",
"prepare": "svelte-kit sync",
"clean": "rimraf build coverage dist",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "pnpm run \"/^test:.*/\"",
"test:playwright": "playwright test",
"test:vitest": "vitest run",
"vitest": "vitest",
"coverage": "vitest run --coverage",
"lint": "prettier --check --plugin prettier-plugin-svelte . && eslint .",
"fmt": "prettier --write --plugin prettier-plugin-svelte .",
"download-testcases": "node -e 'fetch(\"https://spec.commonmark.org/0.30/spec.json\").then(r=>r.text()).then(t=>console.log(`// prettier-ignore\nexport default ${t}`))' > tests/commonmark.ts",
"changeset": "changeset",
"release": "pnpm clean && pnpm package && pnpm changeset publish"
},
"peerDependencies": {
"svelte": "^5.1.3"
},
"dependencies": {
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"unified": "^11.0.5"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@playwright/test": "^1.48.1",
"@shikijs/rehype": "^1.22.1",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.7.2",
"@sveltejs/package": "^2.3.5",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@testing-library/svelte": "^5.2.4",
"@types/mdast": "^4.0.4",
"@types/node": "^22.7.7",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"@vitest/coverage-v8": "^2.1.3",
"@vitest/ui": "^2.1.3",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.0",
"globals": "^15.11.0",
"highlight.js": "^11.10.0",
"highlightjs-svelte": "^1.0.6",
"jsdom": "^25.0.1",
"katex": "^0.16.11",
"mermaid": "^11.3.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"rehype-highlight": "^7.0.0",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"remark-math": "^6.0.0",
"rimraf": "^6.0.1",
"shiki": "^1.22.1",
"svelte": "^5.1.3",
"svelte-check": "^4.0.5",
"svelte2tsx": "^0.7.22",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.3",
"water.css": "^2.1.1"
},
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/ssssota/svelte-exmarkdown.git"
},
"homepage": "https://ssssota.github.io/svelte-exmarkdown",
"keywords": [
"svelte",
"markdown",
"remark",
"unified",
"commonmark",
"gfm",
"plugin"
],
"license": "MIT",
"packageManager": "[email protected]+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab",
"files": [
"dist"
],
"svelte": "./dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
"./contexts": {
"types": "./dist/contexts.d.ts",
"default": "./dist/contexts.js"
},
"./Markdown.svelte": {
"types": "./dist/Markdown.svelte.d.ts",
"svelte": "./dist/Markdown.svelte",
"default": "./dist/Markdown.svelte"
},
"./gfm": {
"types": "./dist/gfm/index.d.ts",
"svelte": "./dist/gfm/index.js",
"default": "./dist/gfm/index.js"
},
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"default": "./dist/index.js"
},
"./Renderer.svelte": {
"types": "./dist/Renderer.svelte.d.ts",
"svelte": "./dist/Renderer.svelte",
"default": "./dist/Renderer.svelte"
},
"./types": {
"types": "./dist/types.d.ts",
"default": "./dist/types.js"
},
"./utils": {
"types": "./dist/utils.d.ts",
"default": "./dist/utils.js"
}
},
"typesVersions": {
">4.0": {
"contexts": [
"./dist/contexts.d.ts"
],
"Markdown.svelte": [
"./dist/Markdown.svelte.d.ts"
],
"gfm": [
"./dist/gfm/index.d.ts"
],
"index.d.ts": [
"./dist/index.d.ts"
],
"Renderer.svelte": [
"./dist/Renderer.svelte.d.ts"
],
"types": [
"./dist/types.d.ts"
],
"utils": [
"./dist/utils.d.ts"
]
}
}
}