-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 1.95 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
{
"publisher": "MetaP",
"name": "configurable-generator",
"displayName": "Configurable Generator",
"description": "Start a configured generator from the context menu of an XML file",
"version": "0.1.3",
"author": {
"name": "Paul Gordts"
},
"icon": "resources/MetaP.1.ico",
"repository": {
"type": "git",
"url": "https://github.com/MetaP/vscode-configurable-generator"
},
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:metap.generate"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "metap.generate",
"title": "Generate"
}
],
"configuration": [
{
"title": "MetaP",
"properties": {
"metap.generateCommand": {
"type": "string",
"default": "\"%USERPROFILE%\\.vscode\\extensions\\metap.configurable-generator-0.1.0\\command\\MetaP.SampleCommand.exe\" \"${inputPath}\"",
"description": "The shell command to execute when when the generate command is invoked.\nAll occurrences of '${inputPath}' will be replaced with the full path of the file for which the command is invoked."
}
}
}
],
"menus": {
"commandPalette": [
{
"command": "metap.generate",
"when": "false"
}
],
"explorer/context": [
{
"command": "metap.generate",
"group": "metap",
"when": "resourceLangId == xml"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.52.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.15.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
}
}