-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
89 lines (89 loc) · 2.79 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "gitbook-plugin-intopic-toc",
"version": "1.1.2",
"description": "GitBook Plugin to add inline table of contents (TOC) to each page based on configurable selectors.",
"keywords": [
"gitbook",
"plugin",
"toc",
"anchor",
"table-of-contents"
],
"author": "Fabian Zankl",
"license": "MIT",
"engines": {
"gitbook": ">=2.0.0"
},
"main": "index.js",
"scripts": {
"build": "rollup -c",
"clean": "rimraf dist/*",
"prepare": "npm run clean && npm run build",
"start": "npm run build -- -w"
},
"homepage": "https://github.com/zanfab/gitbook-plugin-intopic-toc#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/zanfab/gitbook-plugin-intopic-toc.git"
},
"bugs": {
"url": "https://github.com/zanfab/gitbook-plugin-intopic-toc/issues"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-url": "^7.0.0",
"eslint": "^8.22.0",
"lodash.merge": "^4.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.78.0",
"rollup-copy-plugin": "^0.1.0",
"rollup-plugin-copy-assets": "^2.0.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-terser": "^7.0.2"
},
"gitbook": {
"properties": {
"selector": {
"type": "string",
"default": ".markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section h5, .markdown-section h6",
"title": "Selector used to find elements to put anchors on - only HTML headings h1 - h6 are allowed."
},
"mode": {
"type": "string",
"default": "nested",
"title": "Defines how plugin will be rendered. Possible values: 'flat' or 'nested'."
},
"maxDepth": {
"type": "number",
"default": 6,
"title": "Defines the amount of headings which should be considered during rendering."
},
"isCollapsed": {
"type": "boolean",
"default": true,
"title": "Defines whether the items are collapsed by default and are only expanded when activated. (Only considered when mode = 'nested')"
},
"isScrollspyActive": {
"type": "boolean",
"default": true,
"title": "Defines whether scrollspy effect should be applied."
},
"visible": {
"type": "boolean",
"default": true,
"title": "Defines whether to show the navigation on every page."
},
"label": {
"type": [
"string",
"object"
],
"default": "In this article",
"title": "Label which is used as heading for the navigation."
}
}
}
}