-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
154 lines (154 loc) · 4.14 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": "create-gist",
"displayName": "Create Gist",
"description": "Upload your code to Gist with ease",
"version": "1.0.0",
"publisher": "wiinter",
"icon": "resources/icon.png",
"pricing": "Free",
"license": "MIT",
"bugs": "https://github.com/Winter/create-gist/issues",
"repository": {
"type": "git",
"url": "https://github.com/Winter/create-gist.git"
},
"author": {
"name": "Winter"
},
"keywords": [
"gist",
"github",
"create",
"upload"
],
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Create Gist",
"properties": {
"create-gist.token": {
"type": "string",
"order": 0,
"default": "",
"description": "The GitHub personal access token to use when creating a gist."
},
"create-gist.gistVisibility": {
"type": "string",
"order": 1,
"default": "Secret",
"description": "The visibility to use when creating a gist.",
"enum": [
"Public",
"Secret"
]
},
"create-gist.menuMode": {
"type": "string",
"order": 2,
"default": "Default",
"description": "The menu mode to use in the context menu.",
"enum": [
"Default",
"Submenu",
"Both"
]
},
"create-gist.includeFileName": {
"type": "boolean",
"order": 3,
"default": true,
"description": "Whether to include the file name in the gist."
},
"create-gist.copyToClipboard": {
"type": "boolean",
"order": 4,
"default": true,
"description": "Whether to copy the gist URL to the clipboard after creating a gist."
},
"create-gist.showNotification": {
"type": "boolean",
"order": 5,
"default": true,
"description": "Whether to show a notification after creating a gist."
}
}
},
"commands": [
{
"command": "create-gist.createGist",
"title": "Create Gist",
"category": "Create Gist"
},
{
"command": "create-gist.createPublicGist",
"title": "Public",
"category": "Create Gist"
},
{
"command": "create-gist.createSecretGist",
"title": "Secret",
"category": "Create Gist"
}
],
"submenus": [
{
"id": "create-gist.submenu",
"label": "Create Gist"
}
],
"menus": {
"editor/context": [
{
"command": "create-gist.createGist",
"when": "editorHasSelection && (config.create-gist.menuMode == 'Default' || config.create-gist.menuMode == 'Both')",
"group": "z_commands"
},
{
"submenu": "create-gist.submenu",
"when": "editorHasSelection && (config.create-gist.menuMode == 'Submenu' || config.create-gist.menuMode == 'Both')",
"group": "z_commands"
}
],
"create-gist.submenu": [
{
"command": "create-gist.createPublicGist"
},
{
"command": "create-gist.createSecretGist"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.56.0",
"typescript": "^5.3.3",
"ts-loader": "^9.5.1",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.4",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9"
}
}