-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.71 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
{
"name": "image-diff",
"displayName": "Image Diff",
"description": "Compare and get the difference of two images",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "https://github.com/paulheg/image-diff"
},
"bugs": {
"url": "https://github.com/paulheg/image-diff/issues"
},
"publisher": "paulheg",
"author": {
"name": "Paul Hegenberg",
"url": "https://github.com/paulheg"
},
"icon": "icons/image-diff.png",
"engines": {
"vscode": "^1.76.0"
},
"activationEvents": [
"onStartupFinished"
],
"categories": [
"Visualization"
],
"main": "./out/main.js",
"contributes": {
"menus": {
"editor/title": [
{
"when": "activeCustomEditorId !== 'imageDiff.diff' && resourceExtname in imageDiff.supportedExtnames",
"command": "imageDiff.current",
"group": "navigation"
},
{
"when": "activeCustomEditorId == 'imageDiff.diff'",
"command": "imageDiff.loadSecond",
"group": "navigation"
}
]
},
"customEditors": [
{
"viewType": "imageDiff.diff",
"displayName": "Image Diff",
"priority": "option",
"selector": [
{
"filenamePattern": "*.{jpg,jpe,jpeg,png,bmp,gif,ico,webp,avif}"
}
]
}
],
"commands": [
{
"command": "imageDiff.current",
"title": "Compare the current image with another file",
"icon": {
"dark": "icons/dark/image-diff.svg",
"light": "icons/light/image-diff.svg"
}
},
{
"command": "imageDiff.loadSecond",
"title": "Load second image",
"icon": {
"dark": "icons/dark/image-add.svg",
"light": "icons/light/image-add.svg"
}
}
]
},
"scripts": {
"install:all": "npm install && cd webview-ui && npm install",
"vscode:prepublish": "npm run esbuild-base -- --minify && npm run build:webview",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"build:webview": "cd webview-ui && npm run build",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/node": "^18.14.6",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.35.0",
"glob": "^9.2.1",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"vscode-test": "^1.5.0",
"esbuild": "0.17.11"
},
"dependencies": {}
}