-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.74 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
{
"name": "remark-table-of-contents",
"version": "2.1.0",
"description": "remark plugin to generate a table of contents (toc) which can be inserted in mdx via a placeholder or you use the output",
"main": "./dist/index.js",
"scripts": {
"build": "esbuild ./src/index.ts --format=esm --target=es2022 --outdir=dist && npm run types",
"build-min": "esbuild ./src/index.ts --format=esm --bundle --minify --target=es2022 --outdir=dist && npm run types",
"lint": "npx eslint src/",
"types": "tsc --declaration --emitDeclarationOnly --declarationDir dist"
},
"author": "chrisweb (https://chris.lu)",
"license": "MIT",
"keywords": [
"remark",
"plugin",
"mdx",
"markdown",
"toc",
"table-of-contents",
"typescript"
],
"type": "module",
"files": [
"package*.json",
"dist/*"
],
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/chrisweb/remark-toc-mdx.git"
},
"bugs": "https://github.com/chrisweb/remark-toc-mdx/issues",
"dependencies": {
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"escape-goat": "^4.0.0",
"github-slugger": "^2.0.0",
"hast-util-is-element": "^3.0.0",
"mdast-util-mdx-jsx": "^3.1.3",
"mdast-util-to-string": "^4.0.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"unist-util-visit-parents": "^6.0.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"esbuild": "^0.24.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
}
}