-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
106 lines (106 loc) · 2.85 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
{
"name": "vscode-pbkit",
"displayName": "Protobuf (Protocol Buffers)",
"description": "Syntax highlight, Go to definition and Auto completion.",
"repository": {
"type": "git",
"url": "https://github.com/pbkit/vscode-pbkit.git"
},
"version": "0.0.8",
"publisher": "pbkit",
"icon": "pbkit.png",
"license": "(MIT OR Apache-2.0)",
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"onLanguage:proto"
],
"main": "./dist/main",
"contributes": {
"languages": [
{
"id": "proto",
"extensions": [
".proto"
],
"aliases": [
"Protocol Buffers"
],
"configuration": "./language-configuration.json"
},
{
"id": "prototext",
"extensions": [
".pbtxt",
".pbtext",
".txtpb",
".textproto",
".textpb",
".asciipb",
".pbascii",
".protoascii",
".prototxt"
],
"aliases": [
"Protocol Buffers Text Format"
],
"configuration": "./language-configuration-prototext.json"
}
],
"grammars": [
{
"language": "proto",
"scopeName": "source.proto",
"path": "./syntaxes/proto.tmLanguage.json"
},
{
"language": "prototext",
"scopeName": "source.prototext",
"path": "./syntaxes/prototext.tmLanguage.json"
}
],
"commands": [
{
"command": "pbkit.restart",
"title": "Restart Protobuf Language Server",
"category": "Pbkit",
"description": "Restart the Protobuf language server."
}
],
"configuration": {
"type": "object",
"title": "pbkit",
"properties": {
"pbkit-language-server.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"build:ext": "esbuild ./src/extension.ts --bundle --outfile=./dist/main.js --external:vscode --format=cjs --platform=node",
"build:pbkit": "esbuild ./node_modules/@pbkit/pb-cli/esm/cli/pb/entrypoint.js --bundle --outdir=./dist/@pbkit/pb-cli/esm/cli/pb --format=esm --banner:js='(async()=>{' --footer:js='})()' --define:import.meta.url=undefined --platform=node",
"build": "npm run build:ext && npm run build:pbkit"
},
"devDependencies": {
"@types/node": "^20.10.4",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.1.1",
"esbuild": "^0.19.9",
"vscode-test": "^1.6.1"
},
"dependencies": {
"@pbkit/pb-cli": "^0.0.72",
"vscode-languageclient": "^9.0.1"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}