-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 4.89 KB
/
package.json
File metadata and controls
151 lines (151 loc) · 4.89 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
{
"name": "devstock",
"displayName": "DevStock",
"description": "Search, preview, insert, and download stock images directly inside VS Code using Unsplash, Pexels, and Pixabay.",
"version": "1.0.4",
"publisher": "AvTe",
"icon": "resources/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/AvTe/DevStock"
},
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Snippets",
"Programming Languages",
"Other"
],
"keywords": [
"stock images",
"unsplash",
"pexels",
"pixabay",
"image search",
"developer tools"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "devstock-sidebar",
"title": "DevStock",
"icon": "resources/icon.svg"
}
]
},
"views": {
"devstock-sidebar": [
{
"type": "webview",
"id": "devstock.searchPanel",
"name": "Image Search",
"icon": "resources/icon.svg"
}
]
},
"commands": [
{
"command": "devstock.searchImages",
"title": "DevStock: Search Stock Images",
"icon": {
"light": "resources/icon.svg",
"dark": "resources/icon.svg"
}
},
{
"command": "devstock.openSidebar",
"title": "DevStock: Open Sidebar"
}
],
"keybindings": [
{
"command": "devstock.searchImages",
"key": "ctrl+shift+i",
"mac": "cmd+shift+i"
}
],
"configuration": {
"title": "DevStock",
"properties": {
"devstock.unsplashApiKey": {
"type": "string",
"default": "",
"description": "Your Unsplash API Access Key. Get one free at https://unsplash.com/developers"
},
"devstock.pexelsApiKey": {
"type": "string",
"default": "",
"description": "Your Pexels API Key. Get one free at https://www.pexels.com/api/"
},
"devstock.pixabayApiKey": {
"type": "string",
"default": "",
"description": "Your Pixabay API Key. Get one free at https://pixabay.com/api/docs/"
},
"devstock.defaultProvider": {
"type": "string",
"enum": [
"unsplash",
"pexels",
"pixabay"
],
"default": "unsplash",
"description": "Default image provider"
},
"devstock.downloadPath": {
"type": "string",
"default": "images",
"description": "Default folder to download images to (relative to workspace root)"
},
"devstock.imageSize": {
"type": "string",
"enum": [
"small",
"medium",
"large",
"original"
],
"default": "medium",
"description": "Preferred image size for downloads"
},
"devstock.enableTrigger": {
"type": "boolean",
"default": true,
"description": "Enable opening the sidebar when typing the trigger pattern (e.g. {/img}) in the editor."
},
"devstock.triggerPattern": {
"type": "string",
"default": "{/img}",
"description": "The string to type in the editor to trigger opening the DevStock sidebar."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.js --production",
"watch": "node esbuild.js --watch",
"lint": "eslint src --ext ts",
"compile": "node esbuild.js"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"@vscode/codicons": "^0.0.44",
"axios": "^1.6.5"
}
}