-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.63 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
{
"name": "code-to-markdown",
"displayName": "Code To Markdown",
"description": "Copy selected code snippets in ready-to-paste formatting for Discord or Reddit markdown",
"version": "0.5.5",
"publisher": "DLCHAMP",
"author": {
"name": "DLCHAMP"
},
"repository": {
"type": "git",
"url": "https://github.com/dlchamp/Code-to-MD"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:code-to-md.copyToDiscord",
"onCommand:code-to-md.copyToReddit"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "code-to-md.copyToDiscord",
"title": "Copy for Discord/New Reddit"
},
{
"command": "code-to-md.copyToReddit",
"title": "Copy for Old Reddit"
}
],
"menus": {
"editor/context": [
{
"command": "code-to-md.copyToDiscord",
"when": "editorTextFocus && editorHasSelection",
"group": "copyPaste@9"
},
{
"command": "code-to-md.copyToReddit",
"when": "editorTextFocus && editorHasSelection",
"group": "copyPaste@10"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.12.7",
"@types/vscode": "^1.74.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^9.0.0",
"glob": "^10.3.12",
"mocha": "^10.1.0",
"typescript": "^5.4.5"
},
"dependencies": {
"json5": "^2.2.2"
}
}