-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.62 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.62 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
{
"name": "stream-guard",
"displayName": "StreamGuard",
"description": "Mask lines of code with a decorative overlay while streaming",
"version": "1.3.2",
"publisher": "NathanBonnell",
"license": "MIT",
"icon": "icon.png",
"qna": "marketplace",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"keywords": [
"stream",
"streaming",
"twitch",
"overlay",
"decoration"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "streamGuard.toggle",
"title": "StreamGuard: Toggle Stream Mode"
}
],
"configuration": {
"title": "StreamGuard",
"properties": {
"streamGuard.enabled": {
"type": "boolean",
"default": false,
"description": "Enable or disable StreamGuard globally"
},
"streamGuard.maskedFilePatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Glob patterns of files whose content should be masked"
},
"streamGuard.maskedFolders": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Folder glob patterns to mask in explorer and editor"
},
"streamGuard.decorationColor": {
"type": "string",
"default": "",
"description": "Custom color for the StreamGuard decoration overlay (CSS hex, e.g. '#ff0000'). Leave empty to use the editor warning theme color."
},
"streamGuard.languageCommentPrefixes": {
"type": "object",
"default": {},
"description": "Custom comment prefixes per language ID. Maps a VSCode language ID to an array of single-line comment prefixes. Example: { \"lua\": [\"--\"], \"python\": [\"#\"] }",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "biome check src",
"format": "biome format --write src",
"test": "mocha --require ts-node/register 'src/test/**/*.test.ts'"
},
"devDependencies": {
"@biomejs/biome": "^2.4.4",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.5",
"@types/vscode": "^1.85.0",
"@vscode/test-electron": "^2.3.8",
"mocha": "^10.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}