-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 2.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
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
{
"name": "zettel-view",
"displayName": "Zettel View",
"description": "Display a list of markdown files by their H1 header.",
"version": "0.0.1",
"publisher": "flengyel",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/flengyel/zettel-view"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"explorer": [
{
"id": "zettelView",
"name": "Zettel View",
"icon": "media/dep.svg",
"contextualTitle": "Zettelkasten View"
},
{
"id": "incomingZettelView",
"name": "Incoming Zettels",
"contextualTitle": "Incoming Zettel View"
}
]
},
"menus": {
"view/title": [
{
"command": "zettelView.refreshEntry",
"when": "view == zettelView",
"group": "navigation"
},
{
"command": "incomingZettelView.refreshEntry",
"when": "view == incomingZettelView",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "zettelView.renameEntry",
"when": "resourceExtname == .md",
"group": "1_modification"
}
],
"viewItem": [
{
"command": "zettelView.renameEntry",
"when": "view == zettelView && viewItem == zettelItem",
"group": "inline"
}
]
},
"commands": [
{
"command": "zettelView.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "zettelView.renameEntry",
"title": "Rename and replace IDs"
},
{
"command": "incomingZettelView.refreshEntry",
"title": "Refresh Incoming IDs",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "zettelkasten.openZettel",
"title": "Open Zettel"
}
],
"configuration": {
"title": "ID Regex",
"properties": {
"zettelView.regex": {
"type": "string",
"default": "^# ((\\w{1,4}\\.){2,}\\d\\w{3})",
"description": "Regular expression for matching the ID of an H1 header."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint \"src/**/*.ts\""
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mkdirp": "^0.5.2",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.36",
"@types/rimraf": "^2.0.2",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"chai": "^4.3.7",
"eslint": "^8.26.0",
"typescript": "^5.1.3"
},
"dependencies": {
"minimist": "^1.2.6",
"mkdirp": "^0.5.1",
"rimraf": "^2.6.2"
}
}