-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.22 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 4.22 KB
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
{
"name": "draftmark",
"displayName": "Draftmark",
"description": "Share Markdown for human + agent review, right from your editor.",
"version": "0.1.0",
"publisher": "draftmark-app",
"license": "MIT",
"icon": "media/icon.png",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"AI",
"Other"
],
"keywords": [
"markdown",
"review",
"comments",
"collaboration",
"agent"
],
"galleryBanner": {
"color": "#0d0d0d",
"theme": "dark"
},
"qna": false,
"homepage": "https://draftmark.app",
"bugs": {
"url": "https://github.com/draftmark-app/vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/draftmark-app/vscode.git"
},
"activationEvents": [
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{ "command": "draftmark.signIn", "title": "Draftmark: Sign In" },
{ "command": "draftmark.signOut", "title": "Draftmark: Sign Out" },
{ "command": "draftmark.share", "title": "Draftmark: Share Current File" },
{ "command": "draftmark.publishUpdate", "title": "Draftmark: Publish Update" },
{ "command": "draftmark.openInBrowser", "title": "Draftmark: Open in Browser" },
{ "command": "draftmark.showComments", "title": "Draftmark: Show Comments" },
{ "command": "draftmark.refreshComments", "title": "Draftmark: Refresh Comments" },
{ "command": "draftmark.submitComment", "title": "Comment", "enablement": "!commentIsEmpty" },
{ "command": "draftmark.resolveThread", "title": "Resolve" },
{ "command": "draftmark.dismissThread", "title": "Dismiss" },
{ "command": "draftmark.reopenThread", "title": "Reopen" },
{ "command": "draftmark.revealDetached", "title": "Draftmark: Reveal Detached Comment" }
],
"menus": {
"comments/commentThread/context": [
{ "command": "draftmark.submitComment", "group": "inline" }
],
"comments/commentThread/title": [
{
"command": "draftmark.resolveThread",
"group": "inline@1",
"when": "commentController == draftmark && commentThread == open"
},
{
"command": "draftmark.dismissThread",
"group": "inline@2",
"when": "commentController == draftmark && commentThread == open"
},
{
"command": "draftmark.reopenThread",
"group": "inline@1",
"when": "commentController == draftmark && commentThread == resolved"
}
],
"commandPalette": [
{ "command": "draftmark.submitComment", "when": "false" },
{ "command": "draftmark.resolveThread", "when": "false" },
{ "command": "draftmark.dismissThread", "when": "false" },
{ "command": "draftmark.reopenThread", "when": "false" },
{ "command": "draftmark.revealDetached", "when": "false" }
]
},
"views": {
"explorer": [
{
"id": "draftmark.detached",
"name": "Draftmark: Detached Comments",
"when": "draftmark.hasDetached"
}
]
},
"configuration": {
"title": "Draftmark",
"properties": {
"draftmark.baseUrl": {
"type": "string",
"default": "https://draftmark.app/api/v1",
"description": "Draftmark API base URL (including the /api/v1 prefix)."
},
"draftmark.pollIntervalSeconds": {
"type": "number",
"default": 60,
"minimum": 0,
"description": "How often (seconds) to poll shared docs for new comments/reviews. 0 disables polling; the minimum effective interval is 15s."
}
}
}
},
"scripts": {
"build": "node esbuild.js",
"watch": "node esbuild.js --watch",
"typecheck": "tsc --noEmit",
"vscode:prepublish": "npm run typecheck && node esbuild.js --production",
"package": "vsce package --no-dependencies",
"publish:vsce": "vsce publish --no-dependencies",
"publish:ovsx": "ovsx publish --no-dependencies"
},
"dependencies": {
"@draftmark-app/client": "^0.1.0"
},
"devDependencies": {
"@types/node": "^22.13.14",
"@types/vscode": "^1.90.0",
"@vscode/vsce": "^3.2.0",
"esbuild": "^0.24.0",
"ovsx": "^0.10.0",
"typescript": "^5.8.2"
}
}