This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
forked from bufbuild/vscode-buf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 2.62 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
{
"name": "vscode-buf",
"displayName": "Buf",
"description": "Visual Studio Code support for Buf",
"version": "0.5.0",
"icon": "logo.png",
"publisher": "bufbuild",
"repository": {
"type": "git",
"url": "https://github.com/bufbuild/vscode-buf.git"
},
"bugs": {
"url": "https://github.com/bufbuild/vscode-buf/issues"
},
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"engines": {
"vscode": "^1.72.0"
},
"categories": [
"Formatters",
"Linters"
],
"keywords": [
"proto",
"proto3",
"protobuf",
"protocol buffers",
"buf",
"bufbuild",
"lint",
"format"
],
"activationEvents": [
"workspaceContains:**/*.proto",
"workspaceContains:**/buf.yaml",
"workspaceContains:**/buf.lock",
"workspaceContains:**/buf.mod",
"workspaceContains:**/buf.work",
"workspaceContains:**/buf.gen",
"workspaceContains:**/buf.gen.yaml",
"workspaceContains:**/buf.work.yaml"
],
"contributes": {
"commands": [
{
"category": "Linters",
"command": "vscode-buf.lint",
"title": "Lint protobuf files using Buf"
}
],
"configuration": {
"title": "Buf",
"properties": {
"buf.binaryPath": {
"type": "string",
"default": "buf",
"description": "Path to the buf binary"
},
"buf.linting.enabled": {
"type": "boolean",
"default": true,
"description": "Lints code on file save using buf lint."
},
"buf.linting.lintOnSave": {
"type": "boolean",
"default": true,
"description": "Lints code on file save using buf lint."
}
}
},
"configurationDefaults": {
"[proto3]": {
"editor.formatOnSave": true
}
},
"languages": [
{
"id": "yaml",
"filenames": [
"buf.lock",
"buf.mod",
"buf.work",
"buf.gen"
]
},
{
"id": "proto3",
"extensions": [
".proto"
],
"aliases": [
"Protocol Buffers",
"Protobuf"
]
}
]
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npx tsc -p ./",
"watch": "npx tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "npx eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.4",
"@types/vscode": "^1.72.0",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"eslint": "^8.0.1",
"glob": "^7.1.6",
"mocha": "^10.1.0",
"typescript": "^4.5.4",
"vsce": "^2.13.0",
"@vscode/test-electron": "^1.4.0"
}
}