-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
73 lines (73 loc) · 1.82 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
{
"name": "rehype-extract-excerpt",
"version": "0.4.0",
"description": "rehype plugin which attaches a document's first paragraph to the VFile",
"keywords": [
"ast",
"excerpt",
"extract",
"hast",
"markdown",
"plugin",
"rehype",
"rehype-plugin",
"unified"
],
"homepage": "/~https://github.com/jrson83/rehype-extract-excerpt#readme",
"bugs": {
"url": "/~https://github.com/jrson83/rehype-extract-excerpt/issues"
},
"repository": {
"type": "git",
"url": "/~https://github.com/jrson83/rehype-extract-excerpt.git"
},
"license": "MIT",
"author": "Jörn Spangenberg <just@jrson.me> (https://jrson.me)",
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"scripts": {
"clean": "rm -rf dist",
"lint": "biome lint --write .",
"fmt": "biome format . --write",
"dev": "tsc --watch",
"build": "tsc",
"test": "node --import=tsx/esm --test ./test/plugin.test.ts",
"quality-check": "pnpm lint && pnpm fmt && pnpm build && pnpm test",
"prepare": "husky"
},
"dependencies": {
"hast-util-to-string": "^3.0.1",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/hast": "^3.0.4",
"@types/node": "^22.13.4",
"husky": "^9.1.7",
"nano-staged": "^0.8.0",
"rehype-stringify": "^10.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"unified": "^11.0.5"
},
"engines": {
"node": ">=16.20.2"
},
"publishConfig": {
"access": "public"
},
"nano-staged": {
"*.ts": "biome lint --write .",
"*": "biome format . --write"
}
}