forked from KreativJos/csharpextensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
177 lines (177 loc) · 4.87 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "csharpextensions_minimal",
"displayName": "C# Extensions",
"description": "Minimal C# IDE Extensions for VSCode",
"author": "fMoro",
"license": "MIT",
"version": "2.0.3",
"publisher": "fMoro1999",
"engines": {
"vscode": "^1.56.0"
},
"repository": {
"type": "git",
"url": "https://github.com/fMoro1999/csharpextensions"
},
"icon": "logo.png",
"categories": [
"Programming Languages",
"Linters",
"Snippets"
],
"keywords": [
".NET",
"ASP.NET",
".NET Core",
"dotnet"
],
"activationEvents": [
"onLanguage:csharp",
"onCommand:csharpextensions.createClass",
"onCommand:csharpextensions.createEnum",
"onCommand:csharpextensions.createInterface",
"onCommand:csharpextensions.createRestController",
"onCommand:csharpextensions.createBasicRestController"
],
"main": "./dist/extension",
"contributes": {
"submenus": [
{
"id": "csharpextensions.new",
"label": "C#"
}
],
"commands": [
{
"command": "csharpextensions.createClass",
"title": "Class"
},
{
"command": "csharpextensions.createInterface",
"title": "Interface"
},
{
"command": "csharpextensions.createEnum",
"title": "Enum"
},
{
"command": "csharpextensions.createRestController",
"title": "Rest Controller"
},
{
"command": "csharpextensions.createBasicRestController",
"title": "Basic Rest Controller"
},
{
"command": "csharpextensions.createXUnitTest",
"title": "XUnit Test"
}
],
"menus": {
"csharpextensions.new": [
{
"group": "00_basics@0",
"command": "csharpextensions.createClass"
},
{
"group": "00_basics@1",
"command": "csharpextensions.createInterface"
},
{
"group": "00_basics@2",
"command": "csharpextensions.createEnum"
},
{
"group": "10_mvc@1",
"command": "csharpextensions.createRestController"
},
{
"group": "10_mvc@1",
"command": "csharpextensions.createBasicRestController"
},
{
"group": "30_test@0",
"command": "csharpextensions.createXUnitTest"
}
],
"explorer/context": [
{
"submenu": "csharpextensions.new",
"group": "navigation@-1",
"when": "explorerResourceIsFolder"
}
]
},
"configuration": {
"title": "C# Extensions configuration",
"properties": {
"csharpextensions.privateMemberPrefix": {
"type": "string",
"default": "_",
"description": "Prefix for generated private member declarations"
},
"csharpextensions.useThisForCtorAssignments": {
"type": "boolean",
"default": true,
"description": "Whether or not a ctor assignment of a property or variable should be prefixed with this."
},
"csharpextensions.reFormatAfterChange": {
"type": "boolean",
"default": true,
"description": "If true, the document will be reformatted after codeactions are used."
},
"csharpextensions.includeNamespaces": {
"type": "boolean",
"default": true,
"description": "If created classes should include default namespaces"
},
"csharpextensions.useFileScopedNamespace": {
"type": "boolean",
"default": false,
"description": "Use file scoped namespace in .NET 6.0+ projects"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./ && webpack --mode production",
"compile": "tsc -p ./ && yarn lint",
"compileDev": "tsc -p ./ && yarn lint && webpack --mode development",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package --yarn",
"publish": "vsce publish --yarn"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/lodash": "^4.14.175",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.56.0",
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"ts-loader": "^9.2.6",
"typescript": "^4.6.3",
"vsce": "^2.6.3",
"vscode-test": "^1.5.0",
"webpack": "^5.58.2",
"webpack-cli": "^4.9.1"
},
"dependencies": {
"find-up-glob": "^1.0.0",
"lodash": "^4.7.0",
"xml2js": "^0.4.23"
},
"__metadata": {
"id": "80c8f9ff-3535-4b4a-b3db-e88f5752bb18",
"publisherDisplayName": "fMoro1999",
"publisherId": "4905789e-0ee4-4159-9429-069d1edbd4f4",
"isPreReleaseVersion": false
}
}