-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.76 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
{
"name": "rehype-extract-excerpt",
"version": "0.3.1",
"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"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"scripts": {
"clean": "rm -rf dist",
"lint": "biome check --apply-unsafe .",
"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.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.6.2",
"@types/hast": "^3.0.4",
"@types/node": "^22.0.0",
"husky": "^9.0.11",
"nano-staged": "^0.8.0",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"tsx": "^4.7.1",
"typescript": "^5.4.3",
"unified": "^11.0.4"
},
"publishConfig": {
"access": "public"
},
"nano-staged": {
"*.ts": "biome check --apply-unsafe .",
"*": "biome format . --write"
}
}