-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
126 lines (126 loc) · 2.9 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
{
"name": "vscode-buf",
"displayName": "Buf",
"description": "Visual Studio Code support for Buf",
"version": "0.7.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.83.1"
},
"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"
}
}
},
"configurationDefaults": {
"[proto]": {
"editor.formatOnSave": true
}
},
"languages": [
{
"id": "yaml",
"filenames": [
"buf.lock",
"buf.mod",
"buf.work",
"buf.gen"
]
},
{
"id": "proto",
"extensions": [
".proto"
],
"aliases": [
"Protocol Buffers",
"Protobuf"
],
"configuration": "./protobuf-language-configuration.json"
}
],
"grammars": [
{
"language": "proto",
"scopeName": "source.proto",
"path": "./syntaxes/proto.tmLanguage.json"
}
]
},
"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 && npm run prepworkspaces",
"prepworkspaces": "(cd test-workspaces/npm-buf-workspace && npm install)",
"lint": "npx eslint src --ext ts",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.x",
"@types/vscode": "^1.83.1",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.21.0",
"@vscode/test-cli": "0.0.4",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"typescript": "^5.7.2",
"@vscode/vsce": "^2.15.0"
}
}