-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.51 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
{
"name": "tga-image-preview",
"displayName": "TGA Image Preview",
"description": "Preview TGA Images",
"version": "1.0.0",
"publisher": "lunarwtr",
"engines": {
"vscode": "^1.66.0"
},
"categories": [
"Visualization"
],
"keywords": [
"TGA",
"TARGA",
"Truevision",
"Image",
"Viewer"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lunarwtr/vscode-tga-image-preview.git"
},
"icon": "icon.png",
"activationEvents": [
"onCustomEditor:tga.previewEditor",
"onCommand:tga.zoomIn",
"onCommand:tga.zoomOut"
],
"main": "./dist/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "tga.previewEditor",
"displayName": "%customEditors.displayName%",
"priority": "default",
"selector": [
{
"filenamePattern": "*.{tga}"
}
]
}
],
"commands": [
{
"command": "tga.zoomIn",
"title": "%command.zoomIn%",
"category": "Image Preview"
},
{
"command": "tga.zoomOut",
"title": "%command.zoomOut%",
"category": "Image Preview"
}
],
"menus": {
"commandPalette": [
{
"command": "tga.zoomIn",
"when": "activeCustomEditorId == 'tga.previewEditor'",
"group": "1_tga"
},
{
"command": "tga.zoomOut",
"when": "activeCustomEditorId == 'tga.previewEditor'",
"group": "1_tga"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/pngjs": "^6.0.1",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"eslint": "^8.9.0",
"glob": "^7.2.0",
"mocha": "^9.2.1",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"pngjs": "^6.0.0",
"tga": "^1.0.4",
"vscode-nls": "^5.0.0"
}
}