-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
88 lines (88 loc) · 2.66 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
{
"name": "go-ast-explorer",
"displayName": "go-ast-explorer",
"description": "Go AST Explorer",
"version": "0.0.9",
"publisher": "tamayika",
"repository": {
"type": "git",
"url": "https://github.com/tamayika/vscode-go-ast-explorer"
},
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:go",
"onCommand:go-ast-explorer.installTools"
],
"main": "./out/extension",
"contributes": {
"views": {
"explorer": [
{
"id": "go-ast-explorer.view",
"name": "Go AST"
}
]
},
"commands": [
{
"command": "go-ast-explorer.installTools",
"title": "Go AST: Install/Update Tools",
"description": "install/update the required go packages"
},
{
"command": "go-ast-explorer.showInExplorer",
"title": "Go AST: Show In Explorer",
"description": "Show nearest ast node for current cursor"
},
{
"command": "go-ast-explorer.selectByGAQ",
"title": "Go AST: Select Nodes Text By GAQ",
"description": "Select nodes text by GAQ"
},
{
"command": "go-ast-explorer.searchByGAQ",
"title": "Go AST: Search Nodes Text By GAQ",
"description": "Search nodes text by GAQ"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == go",
"command": "go-ast-explorer.showInExplorer"
}
]
},
"configuration": {
"type": "object",
"title": "Go AST configuration",
"properties": {
"go-ast.selectOnMove": {
"type": "boolean",
"default": false,
"description": "Select matched ast node when cursor moved",
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.21",
"tslint": "^5.8.0",
"@types/node": "^8.10.25",
"@types/mocha": "^2.2.42"
}
}