forked from zxh0/vscode-proto3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.93 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
{
"name": "vscode-proto3",
"displayName": "vscode-proto3",
"description": "Protobuf 3 support for Visual Studio Code",
"version": "0.2.2",
"publisher": "zxh404",
"icon": "images/icon.png",
"homepage": "https://github.com/zxh0/vscode-proto3/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/zxh0/vscode-proto3"
},
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Languages",
"Snippets"
],
"activationEvents": [
"onLanguage:proto3",
"onCommand:proto3.compile.one",
"onCommand:proto3.compile.all"
],
"main": "./out/src/proto3Main",
"contributes": {
"commands": [
{
"command": "proto3.compile.one",
"title": "proto3: Compile This Proto"
},
{
"command": "proto3.compile.all",
"title": "proto3: Compile All Protos"
}
],
"languages": [
{
"id": "proto3",
"extensions": [
".proto"
],
"aliases": [
"Protocol Buffers"
]
}
],
"grammars": [
{
"language": "proto3",
"scopeName": "source.proto",
"path": "./syntaxes/proto3.tmLanguage"
}
],
"snippets": [
{
"language": "proto3",
"path": "./snippets/proto3.json"
}
],
"configuration": {
"type": "object",
"title": "vscode-proto3 configuration",
"properties": {
"protoc": {
"type": "object",
"description": "vscode-proto3 configuration",
"properties": {
"path": {
"type": "string",
"default": "protoc",
"description": "Path to protoc command"
},
"options": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Command line options for protoc"
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
},
"dependencies": {
"npm": "^5.7.1",
"fast-glob": "^2.2.7"
}
}