forked from alanwalk/markdown-toc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 4.73 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "markdown-toc",
"displayName": "Markdown TOC",
"description": "Markdown TOC(Table Of Contents) Plugin for Visual Studio Code.",
"version": "1.6.0",
"icon": "img/markdown-toc.png",
"license": "MIT",
"author": {
"email": "[email protected]",
"name": "Alan Walk",
"url": "https://blog.otorb.com"
},
"bugs": {
"url": "https://github.com/AlanWalk/Markdown-TOC/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/AlanWalk/Markdown-TOC.git"
},
"keywords": [
"markdown",
"toc"
],
"homepage": "https://github.com/AlanWalk/Markdown-TOC",
"publisher": "AlanWalk",
"engines": {
"vscode": "^1.13.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown"
],
"main": "./out/src/extension",
"contributes": {
"views": {
"explorer": [
{
"id": "MarkdownToc",
"name": "Markdown TOC"
}
]
},
"commands": [
{
"command": "extension.updateMarkdownToc",
"title": "Markdown TOC: Insert/Update"
},
{
"command": "extension.deleteMarkdownToc",
"title": "Markdown TOC: Delete"
},
{
"command": "extension.updateMarkdownSections",
"title": "Markdown Sections: Insert/Update"
},
{
"command": "extension.deleteMarkdownSections",
"title": "Markdown Sections: Delete"
}
],
"menus": {
"editor/context": [
{
"when": "editorLangId == 'markdown'",
"command": "extension.updateMarkdownToc"
},
{
"when": "editorLangId == 'markdown'",
"command": "extension.deleteMarkdownToc"
},
{
"when": "editorLangId == 'markdown'",
"command": "extension.updateMarkdownSections"
},
{
"when": "editorLangId == 'markdown'",
"command": "extension.deleteMarkdownSections"
}
]
},
"keybindings": [
{
"command": "extension.updateMarkdownToc",
"key": "ctrl+m t"
},
{
"command": "extension.updateMarkdownSections",
"key": "ctrl+m s"
}
],
"configuration": {
"type": "object",
"title": "Markdown TOC configuration",
"properties": {
"markdown-toc.depthFrom": {
"type": "number",
"default": 1,
"description": "Depth control [1-6]."
},
"markdown-toc.depthTo": {
"type": "number",
"default": 6,
"description": "Depth control [1-6]."
},
"markdown-toc.insertAnchor": {
"type": "boolean",
"default": false,
"description": "Auto insert anchor for link."
},
"markdown-toc.withLinks": {
"type": "boolean",
"default": true,
"description": "Auto insert link."
},
"markdown-toc.orderedList": {
"type": "boolean",
"default": false,
"description": "Use ordered list (1. ..., 2. ...)."
},
"markdown-toc.updateOnSave": {
"type": "boolean",
"default": true,
"description": "Auto update on save."
},
"markdown-toc.anchorMode": {
"type": "string",
"default": "github.com",
"description": "anchor mode.",
"enum": [
"github.com",
"bitbucket.org",
"ghost.org",
"gitlab.com"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^2.1.4",
"vscode": "^1.0.0",
"@types/node": "*"
},
"dependencies": {
"anchor-markdown-header": "^0.5.7"
}
}