-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.21 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.21 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
{
"name": "remark-code-region",
"version": "0.3.0",
"description": "Every code block in your docs is extracted from a passing test. Pull tested code from your test suite into Docusaurus, Astro, or any remark-powered docs.",
"type": "module",
"main": "./index.cjs",
"module": "./index.mjs",
"exports": {
".": {
"types": "./index.d.mts",
"require": "./index.cjs",
"import": "./index.mjs"
},
"./docusaurus": {
"types": "./lib/docusaurus.d.mts",
"require": "./lib/docusaurus.cjs",
"import": "./lib/docusaurus.mjs"
},
"./starlight": {
"types": "./lib/starlight.d.mts",
"require": "./lib/starlight.cjs",
"import": "./lib/starlight.mjs"
},
"./shiki": {
"types": "./lib/shiki.d.mts",
"require": "./lib/shiki.cjs",
"import": "./lib/shiki.mjs"
}
},
"files": [
"index.mjs",
"index.cjs",
"index.d.mts",
"lib/"
],
"scripts": {
"build": "node scripts/build.mjs",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"prepublishOnly": "npm run build && npm test",
"test": "vitest run --exclude 'ref/**'",
"test:watch": "vitest --exclude 'ref/**'"
},
"keywords": [
"remark",
"remark-plugin",
"unified",
"markdown",
"docusaurus",
"astro",
"code-blocks",
"documentation",
"tested-code",
"code-import",
"code-region",
"snippets"
],
"author": "patricker",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/patricker/remark-code-region"
},
"homepage": "https://github.com/patricker/remark-code-region#readme",
"bugs": {
"url": "https://github.com/patricker/remark-code-region/issues"
},
"peerDependencies": {
"unified": ">=11.0.0"
},
"dependencies": {
"diff": "^8.0.4",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.10",
"@shikijs/rehype": "^4.0.2",
"@shikijs/transformers": "^4.0.2",
"esbuild": "^0.27.4",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"vitest": "^3.0.0"
},
"engines": {
"node": ">=18"
}
}