-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.18 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
{
"name": "vscode-imagetodatauri",
"publisher": "coderAllan",
"displayName": "Image to Data Uri",
"description": "An extension for Visual Studio Code for converting an image file to a html data uri",
"icon": "logo.png",
"version": "1.0.5",
"license": "MIT",
"repository": "https://github.com/CoderAllan/vscode-imagetodatauri",
"author": {
"name": "Allan Simonsen",
"url": "https://github.com/CoderAllan"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"datauri",
"image",
"html",
"png",
"jpg"
],
"activationEvents": [
"onCommand:vscode-imagetodatauri.imageToDataUriConvertFile",
"onCommand:vscode-imagetodatauri.imageToDataUriConvertUri"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-imagetodatauri.imageToDataUriConvertFile",
"title": "Copy image to clipboard as data Uri"
},
{
"command": "vscode-imagetodatauri.imageToDataUriConvertUri",
"title": "Inline image src as data Uri"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .png || resourceExtname == .jpg || resourceExtname == .jpeg || resourceExtname == .svg || resourceExtname == .gif || resourceExtname == .ico",
"command": "vscode-imagetodatauri.imageToDataUriConvertFile",
"group": "6_copypath"
}
],
"editor/context": [
{
"when": "editorTextFocus",
"command": "vscode-imagetodatauri.imageToDataUriConvertUri",
"group": "1_modification"
}
]
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^22.13.1",
"@types/vscode": "^1.96.0",
"ts-loader": "^9.5.2",
"typescript": "^5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"js-base64": "^3.7.7"
}
}