-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.94 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
106
107
{
"name": "vsc-apim-policy-utils",
"displayName": "Azure APIM Policy Utils",
"description": "Allow users to write c# code in their compilable environment and load that into policy xml file after it has been tested",
"version": "0.0.1",
"engines": {
"vscode": "^1.76.0"
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/zoeyzuo-se/vsc-apim-policy-utils"
},
"publisher": "yuruzuo",
"author": {
"name": "Yuru Zuo",
"email": "zoeyzuouk@gmail.com"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"commands": {
"vsc-apim-policy-utils.policyCombiner": "./out/extension",
"vsc-apim-policy-utils.policyExtractor": "./out/extension",
"vsc-apim-policy-utils.combineFromDirectory": "./out/extension",
"vsc-apim-policy-utils.extractFromDirectory": "./out/extension"
},
"contributes": {
"commands": [
{
"command": "vsc-apim-policy-utils.policyCombiner",
"title": "Policy Combiner"
},
{
"command": "vsc-apim-policy-utils.policyExtractor",
"title": "Policy Extractor"
},
{
"command": "vsc-apim-policy-utils.combineFromDirectory",
"title": "Combine Policies",
"arguments": [
{
"type": "uri",
"name": "uri",
"description": "The URI of the folder that was right-clicked"
}
]
},
{
"command": "vsc-apim-policy-utils.extractFromDirectory",
"title": "Extract Policies",
"arguments": [
{
"type": "uri",
"name": "uri",
"description": "The URI of the folder that was right-clicked"
}
]
}
],
"menus": {
"explorer/context": [
{
"command": "vsc-apim-policy-utils.combineFromDirectory",
"when": "explorerResourceIsFolder"
},
{
"command": "vsc-apim-policy-utils.extractFromDirectory",
"when": "explorerResourceIsFolder"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint:check": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/figlet": "^1.5.6",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@types/xml2js": "^0.4.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.37.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"apim-policy-utils": "^0.0.1",
"fs": "^0.0.1-security",
"global": "^4.4.0",
"vsce": "^2.15.0",
"xml2js": "^0.4.23"
}
}