-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.05 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
{
"name": "@ljoss/rehype-figure-caption",
"version": "1.0.0",
"description": "A Rehype plugin to transform images into <figure> elements with optional captions.",
"main": "dist/cjs/plugin.js",
"module": "dist/esm/plugin.js",
"types": "dist/types/plugin.d.ts",
"exports": {
".": {
"import": "./dist/esm/plugin.js",
"require": "./dist/cjs/plugin.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
"lint": "eslint . --ext .ts",
"test": "vitest",
"prepare": "npm run build"
},
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/ljoss-studios/rehype-figure-caption.git"
},
"keywords": [
"rehype",
"html",
"plugin",
"figure",
"caption",
"typescript",
"unified",
"markdown",
"ast"
],
"author": "Quang Trinh <khacquang.trinh@gmail.com> (https://tkhquang.dev)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ljoss-studios/rehype-figure-caption/issues"
},
"homepage": "https://github.com/ljoss-studios/rehype-figure-caption#readme",
"dependencies": {
"unist-util-visit-parents": "^6.0.1"
},
"devDependencies": {
"@types/hast": "^3.0.4",
"@types/node": "^22.10.1",
"@types/unist": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-vitest-globals": "^1.5.0",
"hast": "^1.0.0",
"prettier": "^3.4.1",
"rehype-parse": "^9.0.1",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"typescript": "^5.7.2",
"unified": "^11.0.5",
"vitest": "^2.1.6"
}
}