-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
132 lines (132 loc) · 3.29 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
{
"name": "sonar-dotnet-vscode",
"displayName": "Sonar Dotnet",
"description": "Sonar Dotnet is an Visual Studio Code extensions to C#.",
"version": "1.1.0",
"publisher": "yagoluiz",
"author": {
"name": "Yago Luiz"
},
"icon": "img/icon.png",
"categories": [
"Linters"
],
"keywords": [
"code analysis",
"linters",
"sonar",
"dotnet",
"dotnet core",
"csharp",
"C#"
],
"homepage": "https://github.com/yagoluiz/sonar-dotnet-vscode/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/yagoluiz/sonar-dotnet-vscode.git"
},
"bugs": {
"url": "https://github.com/yagoluiz/sonar-dotnet-vscode/issues"
},
"license": "MIT",
"engines": {
"vscode": "^1.45.0"
},
"activationEvents": [
"onCommand:sonar-dotnet-vscode.lint"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "sonar-dotnet-vscode.lint",
"title": "Sonar Dotnet: Lint"
}
],
"configuration": {
"title": "Sonar Dotnet",
"properties": {
"sonar-dotnet-vscode.connection.sonar": {
"type": "object",
"scope": "application",
"markdownDescription": "Configure connection to [SonarCloud](https://sonarcloud.io) or [SonarQube](https://sonarqube.org).",
"examples": [
{
"organizationKey": "<myOrganizationKey>",
"token": "<myToken>",
"serverUrl": "<myServerUrl>"
}
],
"default": {
"serverUrl": "https://sonarcloud.io"
},
"anyOf": [
{
"type": "object",
"properties": {
"organizationKey": {
"type": "string",
"description": "A SonarCloud or SonarQube organization key. Optional for SonarQube."
},
"token": {
"type": "string",
"description": "Token generated from [My Account>Security](https://sonarcloud.io/account/security/) in SonarCloud or My Account>Security in SonarQube."
},
"serverUrl": {
"type": "string",
"description": "Server url default in [SonarCloud](https://sonarcloud.io). Set server url for SonarQube."
}
},
"additionalProperties": false,
"required": [
"token"
]
}
]
},
"sonar-dotnet-vscode.connection.project": {
"type": "object",
"scope": "resource",
"markdownDescription": "Configure project to [SonarCloud](https://sonarcloud.io) or [SonarQube](https://sonarqube.org).",
"examples": [
{
"projectKey": "<myProjectKey>"
}
],
"default": {},
"properties": {
"projectKey": {
"type": "string",
"description": "Key of the project in SonarCloud or SonarQube."
}
},
"additionalProperties": false,
"required": [
"projectKey"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.45.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.30.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
}
}