-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
179 lines (179 loc) · 4.9 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "project-scopes",
"displayName": "Project Scopes",
"description": "Allows you to split up a code repository into multiple views (scopes) in file explorer and file search.",
"version": "1.3.2",
"license": "MIT",
"private": true,
"publisher": "cfcluan",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/luan/vscode-project-scopes.git"
},
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished",
"onView:scopesManager",
"onCommand:project-scopes.toggleExclusion",
"onCommand:project-scopes.toggleInclusion",
"onCommand:project-scopes.toggle",
"onCommand:project-scopes.refresh",
"onCommand:project-scopes.switcher",
"onCommand:project-scopes.delete",
"onCommand:project-scopes.add"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"explorer": [
{
"id": "scopesManager",
"name": "Project Scopes"
}
]
},
"commands": [
{
"command": "project-scopes.add",
"title": "Add a new project scope and switch to it",
"category": "Project Scopes"
},
{
"command": "project-scopes.delete",
"title": "Delete project scope (DANGER!)",
"category": "Project Scopes"
},
{
"command": "project-scopes.switcher",
"title": "Open project scope switcher",
"category": "Project Scopes"
},
{
"command": "project-scopes.refresh",
"title": "Refresh project scopes settings",
"category": "Project Scopes"
},
{
"command": "project-scopes.toggle",
"title": "Toggle project scopes extension",
"category": "Project Scopes"
},
{
"command": "project-scopes.toggleInclusion",
"title": "Project Scopes: Always include this path (Toggle)",
"category": "Project Scopes"
},
{
"command": "project-scopes.toggleExclusion",
"title": "Project Scopes: Exclude this path (Toggle)",
"category": "Project Scopes"
}
],
"menus": {
"commandPalette": [
{
"command": "project-scopes.toggleInclusion"
},
{
"command": "project-scopes.toggleExclusion"
}
],
"editor/title/context": [
{
"command": "project-scopes.toggleInclusion",
"group": "Project Scopes"
},
{
"command": "project-scopes.toggleExclusion",
"group": "Project Scopes"
}
],
"explorer/context": [
{
"command": "project-scopes.toggleInclusion",
"group": "Project Scopes"
},
{
"command": "project-scopes.toggleExclusion",
"group": "Project Scopes"
}
],
"view/item/context": [
{
"command": "project-scopes.delete",
"group": "project-scopes.delete",
"when": "viewItem == 'scope'"
},
{
"command": "project-scopes.toggleInclusion",
"group": "project-scopes.toggleInclusion",
"when": "viewItem == 'inclusion'"
},
{
"command": "project-scopes.toggleExclusion",
"group": "project-scopes.toggleExclusion",
"when": "viewItem == 'exclusion'"
}
]
},
"configuration": {
"title": "Project Scopes",
"properties": {
"project-scopes.enabled": {
"type": "boolean",
"default": true,
"description": "Whether or not to show/hide files based on scope selection"
},
"project-scopes.activeScope": {
"type": "string",
"default": "base",
"description": "Scope currently in use by the Scopes extension"
},
"project-scopes.globalExclude": {
"type": "object",
"default": null,
"description": "Globals to merge in with scope settings into files.exclude"
},
"project-scopes.scopes": {
"type": "object",
"default": {
"base": {
"included": [],
"excluded": []
}
},
"description": "Inclusion/exclusion settings per scope"
}
}
}
},
"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"
},
"dependencies": {
"glob": "^8.0.3"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "16.x",
"@types/vscode": "1.70.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.24.0",
"mocha": "^10.0.0",
"typescript": "^4.8.4"
}
}