-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
166 lines (166 loc) · 4.88 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
{
"publisher": "baincd",
"name": "extension-profiles",
"displayName": "Extension Profiles 3000",
"description": "Define sets of extensions that can quickly be enabled in workspaces via settings",
"version": "1.3.2",
"license": "MIT",
"engines": {
"vscode": "^1.32.0"
},
"repository": {
"type": "git",
"url": "https://github.com/baincd/vscode-extension-profiles"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"title": "Extension Profiles: Active Profiles Setup",
"command": "extension-profiles.active-profiles-setup"
}
],
"configuration": {
"properties": {
"extension-profiles.profiles": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"extensions": {
"type": "array",
"items": {
"type": "string",
"description": "Extension ID"
},
"minItems": 1,
"description": "Array of extension IDs that are part of this profile",
"examples": [
[
"example1.awesome-extension"
]
]
},
"disabledExtensions": {
"type": "array",
"items": {
"type": "string",
"description": "Extension ID"
},
"description": "Array of extension IDs that should be disabled with this profile is active",
"examples": [
[
"example.no-so-awesome-extension"
]
]
},
"settings": {
"type": "object",
"description": "Settings that must be set in the workspace. At workspace startup, will automatically check these settings are set on the workspace or on all root folders. If not, user will be prompted to set the settings. (Value of settings are not checked, and can be used as a reminder of the value that needs to be set)",
"examples": [
{
"exampleExtensionSetting.example.key": "<KEY FROM https://foo.com/profile/api-key>",
"exampleExtensionSetting.complexExample": {
"username": "<USERNAME FROM BAR>",
"secret": "<SECRET FROM BAR>"
}
}
]
},
"temporaryProfile": {
"type": "boolean",
"default": false,
"description": "Temporary profiles are for extensions you want to only enable temporarily. When a workspace is opened, a warning popup will be displayed for any temporary profiles that are active"
}
},
"additionalProperties": false,
"required": [
"extensions"
],
"description": "Extension Profile name",
"examples": [
{
"extensions": [
"example1.awesome-extension",
"example2.ok-extension"
]
}
]
},
"default": {},
"description": "Extension Profiles configuration",
"examples": [
{
"example-profile-1": {
"extensions": [
"example1.awesome-extension",
"example2.ok-extension"
]
},
"example-profile-2": {
"extensions": [
"example1.awesome-extension",
"example2.ok-extension"
]
}
}
]
},
"extension-profiles.activeProfiles": {
"type": "array",
"items": {
"type": "string",
"description": "Extension profile name (must match a extension-profiles.profiles.* value)"
},
"default": [],
"description": "Active profiles (recommended to be set only on workspace settings)"
},
"extension-profiles.enableStartupCheck": {
"type": "boolean",
"default": true,
"markdownDescription": "If enabled, warn on startup about the following conditions:\n- Active profiles with extensions that need to be enabled or disabled\n- Active profiles that are not defined\n- Temporary profiles that are active"
},
"extension-profiles.listActiveProfilesFirst": {
"type": "boolean",
"default": true,
"markdownDescription": "If enabled, list active profiles first in the \"Active Profiles Setup\" quick pick list"
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.12.0",
"@types/vscode": "^1.32.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"chai": "^4.3.4",
"eslint": "^7.21.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"source-map-support": "^0.5.12",
"ts-loader": "^9.2.3",
"typescript": "^4.2.2",
"vscode-test": "^1.3.0",
"webpack": "^5.40.0",
"webpack-cli": "^4.7.2"
}
}