-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 3.98 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
{
"name": "autoclosetabs",
"displayName": "Auto Close Tabs",
"icon": "Zwyx-220x220-rounded.png",
"description": "Automatically close unused tabs",
"version": "1.1.2",
"publisher": "zwyx",
"repository": "github:zwyx/vscode-autoclosetabs",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"title": "Auto Close Tabs",
"properties": {
"autoclosetabs.activation": {
"type": "string",
"default": "everywhere-except-excluded",
"enum": [
"everywhere-except-excluded",
"nowhere-except-included"
],
"markdownEnumDescriptions": [
"Automatically close unused tabs in all workspaces, except the workspaces present in the Excluded list.",
"Automatically close unused tabs only in the workspaces present in the Included list."
],
"markdownDescription": "`everywhere-except-excluded`: automatically close unused tabs in all workspaces, except the workspaces present in the Excluded list.\n\n`nowhere-except-included`: automatically close unused tabs only in the workspaces present in the Included list."
},
"autoclosetabs.excludedWorkspaces": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of workspaces in which unused tabs will not be automatically closed. Only used when `autoclosetabs.activation` is equal to `everywhere-except-excluded`."
},
"autoclosetabs.includedWorkspaces": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of workspaces in which unused tabs will be automatically closed. Only used when `autoclosetabs.activation` is equal to `nowhere-except-included`."
},
"autoclosetabs.numberOfTabsInGroup": {
"type": "number",
"minimum": 0,
"default": 5,
"markdownDescription": "Unused tabs will be closed only if the number of tabs in the group is greater than this number; enter `0` to close all unused tabs."
},
"autoclosetabs.tabAgeForAutomaticClosing": {
"type": "number",
"minimum": 1,
"default": 12,
"markdownDescription": "Number of hours after which an unused tab is automatically closed."
}
}
}
],
"commands": [
{
"command": "autoclosetabs.closeAsManyTabsAsPossible",
"title": "Auto Close Tabs: Close as many tabs as possible"
},
{
"command": "autoclosetabs.activate",
"title": "Auto Close Tabs: Activate automatic closing of unused tabs for this workspace"
},
{
"command": "autoclosetabs.deactivate",
"title": "Auto Close Tabs: Deactivate automatic closing of unused tabs for this workspace"
},
{
"command": "autoclosetabs.listAutomaticallyClosedTabs",
"title": "Auto Close Tabs: List automatically closed tabs"
}
],
"menus": {
"commandPalette": [
{
"command": "autoclosetabs.activate",
"when": "autoclosetabs.activeInWorkspace === 'no'"
},
{
"command": "autoclosetabs.deactivate",
"when": "autoclosetabs.activeInWorkspace === 'yes'"
}
]
}
},
"scripts": {
"build": "npm run lint && tsc -p ./",
"package": "vsce package",
"vscode:prepublish": "npm run build",
"publish": "vsce publish",
"watch": "tsc -watch -p ./",
"pretest": "npm run build",
"lint": "eslint src --report-unused-disable-directives --max-warnings 0",
"test": "node ./out/test/runTest.js",
"prettier": "prettier -w ."
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "^2.20.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.9.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"prettier": "3.0.0",
"typescript": "^5.1.3"
}
}