-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.59 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
{
"name": "code-widgets",
"displayName": "Code Widgets",
"description": "Interactive widgets embedded in source code.",
"icon": "logo.png",
"publisher": "danol",
"version": "1.1.0",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/CZDanol/vscode-code-widgets"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"keywords": [
"codelens",
"annotations",
"inline actions",
"comment toggle",
"comment out code",
"uuid",
"timestamp",
"sort lines"
],
"main": "./dist/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "codeWidgets.createWidget",
"title": "Create Code Widget",
"category": "Code Widgets"
}
],
"configuration": [
{
"title": "Code Widgets",
"order": 1,
"properties": {
"codeWidgets.showCodeLens": {
"type": "boolean",
"default": true,
"description": "Show widget actions as CodeLens buttons."
},
"codeWidgets.codeLensPosition": {
"type": "string",
"enum": [
"aboveCode",
"aboveAnnotation"
],
"enumDescriptions": [
"Between the annotation and the code, directly above the code the widget controls.",
"Above the widget annotation line."
],
"default": "aboveCode",
"description": "Where the CodeLens buttons are placed."
},
"codeWidgets.showDocumentLinks": {
"type": "boolean",
"default": true,
"description": "Make widget labels Ctrl+clickable document links."
},
"codeWidgets.showEmoji": {
"type": "boolean",
"default": true,
"description": "Spice the text up with emoji."
},
"codeWidgets.showSelect": {
"type": "boolean",
"default": true,
"description": "Show the \"Select in editor\" action by default; overridable per widget via the `showSelect` option."
},
"codeWidgets.showCopy": {
"type": "boolean",
"default": true,
"description": "Show the \"Copy\" action by default; overridable per widget via the `showCopy` option."
},
"codeWidgets.showPaste": {
"type": "boolean",
"default": false,
"description": "Show the \"Paste\" action by default; overridable per widget via the `showPaste` option."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"package": "vsce package",
"publish": "vsce publish",
"compile": "tsc -p ./ && node build-extension.mjs",
"watch": "tsc -watch -p ./",
"test": "tsc -p ./ && node --test out/*.test.js",
"docs": "tsc -p ./ && node out/tools/generate-widgets-doc.js",
"demos": "tsc -p ./ && node demos/generator/build-demo-ext.mjs && node demos/generator/generate.mjs",
"build:demo-ext": "node demos/generator/build-demo-ext.mjs"
},
"devDependencies": {
"@types/mock-require": "^2.0.3",
"@types/node": "^22.0.0",
"@types/vscode": "1.90.0",
"@vscode/test-web": "^0.0.80",
"@vscode/vsce": "^3.0.0",
"esbuild": "^0.25.0",
"mock-require": "^3.0.3",
"mouse-helper": "^1.0.7",
"playwright": "^1.50.0",
"prettier": "^3.9.5",
"typescript": "^7.0.2"
},
"dependencies": {
"json5": "^2.2.3",
"yaml": "^2.9.0",
"zod": "^4.0.0"
}
}