-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 5.22 KB
/
package.json
File metadata and controls
187 lines (187 loc) · 5.22 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
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
180
181
182
183
184
185
186
187
{
"name": "macos-permissions",
"displayName": "macOS Permissions for Development",
"description": "Request macOS permissions (microphone, camera, speech recognition, etc.) so VS Code can launch apps that need these permissions",
"version": "0.3.0",
"publisher": "moinsen",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/moinsen-dev/vscode-macos-permissions"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"keywords": [
"macos",
"permissions",
"tcc",
"flutter",
"ios",
"development"
],
"activationEvents": [
"onStartupFinished"
],
"icon": "images/icon.png",
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "macosPermissions.requestAll",
"title": "Request All macOS Permissions",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.showStatus",
"title": "Show Permission Status",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestMicrophone",
"title": "Request Microphone Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestCamera",
"title": "Request Camera Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestSpeechRecognition",
"title": "Request Speech Recognition Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestLocation",
"title": "Request Location Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestContacts",
"title": "Request Contacts Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestCalendars",
"title": "Request Calendars Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestReminders",
"title": "Request Reminders Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestPhotos",
"title": "Request Photos Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.requestBluetooth",
"title": "Request Bluetooth Permission",
"category": "macOS Permissions"
},
{
"command": "macosPermissions.openSystemPreferences",
"title": "Open Privacy & Security Settings",
"category": "macOS Permissions"
}
],
"menus": {
"commandPalette": [
{
"command": "macosPermissions.requestAll",
"when": "isMac"
},
{
"command": "macosPermissions.showStatus",
"when": "isMac"
},
{
"command": "macosPermissions.requestMicrophone",
"when": "isMac"
},
{
"command": "macosPermissions.requestCamera",
"when": "isMac"
},
{
"command": "macosPermissions.requestSpeechRecognition",
"when": "isMac"
},
{
"command": "macosPermissions.requestLocation",
"when": "isMac"
},
{
"command": "macosPermissions.requestContacts",
"when": "isMac"
},
{
"command": "macosPermissions.requestCalendars",
"when": "isMac"
},
{
"command": "macosPermissions.requestReminders",
"when": "isMac"
},
{
"command": "macosPermissions.requestPhotos",
"when": "isMac"
},
{
"command": "macosPermissions.requestBluetooth",
"when": "isMac"
},
{
"command": "macosPermissions.openSystemPreferences",
"when": "isMac"
}
]
},
"configuration": {
"title": "macOS Permissions",
"properties": {
"macosPermissions.showStatusBarItem": {
"type": "boolean",
"default": true,
"description": "Show permission status in the status bar"
},
"macosPermissions.checkOnStartup": {
"type": "boolean",
"default": false,
"description": "Check permission status when VS Code starts"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run prebuildify",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"build-native": "cd native && node-gyp rebuild",
"prebuildify": "prebuildify --napi --strip",
"install": "echo 'Using prebuilt native addon'",
"test": "tsc -p tsconfig.test.json && npx mocha out/test/**/*.test.js --ui tdd --timeout 10000",
"package": "vsce package",
"lint": "eslint src --ext ts"
},
"dependencies": {},
"devDependencies": {
"@types/mocha": "^10.0.0",
"@types/node": "^20.10.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^8.54.0",
"mocha": "^10.2.0",
"node-addon-api": "^7.0.0",
"node-gyp": "^10.0.0",
"prebuildify": "^6.0.0",
"typescript": "^5.3.0"
}
}