-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
145 lines (145 loc) · 3.68 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
{
"name": "snippethub",
"displayName": "Snippet Hub",
"description": "Share, find and rate Code Snippets.",
"keywords": [
"snippet market",
"snippet store",
"snippet manager",
"snippet editor",
"share snippet",
"find snippet",
"edit snippet",
"create snippet",
"snippets"
],
"version": "0.1.2",
"categories": [
"Programming Languages",
"Snippets"
],
"publisher": "pablolion",
"repository": {
"type": "git",
"url": "https://github.com/Pablion/snippet-hub"
},
"bugs": {
"url": "https://github.com/Pablion/snippet-hub/issues"
},
"homepage": "https://github.com/Pablion/snippet-hub#readme",
"engines": {
"vscode": "^1.60.0"
},
"activationEvents": [
"onLanguage:snippet",
"onCommand:snippethub.helloWorld",
"onCommand:snippethub.saveSelected",
"onCommand:snippethub.shareSelected",
"onCommand:snippethub.previewSnippet",
"onCommand:snippethub.enhanceSnippetEditor"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "snippethub.helloWorld",
"title": "Hello World",
"category": "SnippetHub"
},
{
"command": "snippethub.enhanceSnippetEditor",
"title": "Open with Enhanced Snippet Editor(ONLY IN .code-snippet)",
"category": "SnippetHub",
"icon": "$(book)"
},
{
"command": "snippethub.saveSelected",
"title": "Save Selected as Snippet",
"category": "SnippetHub"
},
{
"command": "snippethub.shareSelected",
"title": "Share Selected as Snippet",
"category": "SnippetHub"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == snippet",
"command": "snippethub.enhanceSnippetEditor",
"group": "navigation"
}
],
"editor/title": [
{
"when": "editorLangId == jsonc || editorLangId == snippet && resourceScheme != enhanced-snippet-editor",
"command": "snippethub.enhanceSnippetEditor",
"group": "navigation"
}
],
"editor/title/context": [
{
"when": "resourceLangId == snippet && resourceScheme != enhanced-snippet-editor",
"command": "snippethub.enhanceSnippetEditor",
"group": "navigation"
}
]
},
"grammars": [
{
"scopeName": "keyword.language.snippet",
"path": "./snippets-language/snippets.injection.json",
"injectTo": [
"source.json.comments"
]
}
],
"viewsContainers": {
"activitybar": [
{
"id": "snippet-hub",
"title": "SnippetHub",
"icon": "$(symbol-snippet)"
}
]
},
"views": {
"snippet-hub": [
{
"id": "explore-snippets",
"name": "Explore Snippets"
},
{
"id": "manage-snippets",
"name": "Manage Snippets",
"contextualTitle": "contextualTitle"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
},
"dependencies": {
"vscode-json-languageservice": "^4.1.7"
}
}