-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.42 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
{
"name": "crelation",
"displayName": "C Relation",
"description": "C Language Call Chain Visualization Plugin",
"icon": "images/icon.png",
"publisher": "singlemoonlight",
"repository": {
"type": "git",
"url": "https://github.com/SingleMoonlight/crelation"
},
"version": "1.0.5",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Programming Languages", "Visualization"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "crelation.init",
"title": "C Relation: Init database"
},
{
"command": "crelation.update",
"title": "C Relation: Update database"
},
{
"command": "crelation.forceUpdate",
"title": "C Relation: Force update database"
},
{
"command": "crelation.showRelations",
"title": "Show Relations"
}
],
"menus": {
"editor/context": [
{
"command": "crelation.showRelations",
"when": "editorTextFocus"
}
]
},
"configuration": [
{
"title": "Data Save Path",
"properties": {
"crelation.dataSavePath": {
"type": "string",
"description": "The path to save the database file."
}
}
},
{
"title": "Auto init database",
"properties": {
"crelation.autoInitDatabase": {
"type": "boolean",
"default": false,
"description": "Whether to init the database automatically when opening a project."
}
}
},
{
"title": "Log Level",
"properties": {
"crelation.logLevel": {
"type": "string",
"default": "error",
"description": "The log level of the extension.",
"enum": [
"debug",
"info",
"warn",
"error",
"off"
]
}
}
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.60.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.16.0"
},
"dependencies": {
"tree-sitter": "^0.22.1",
"tree-sitter-c": "^0.23.4"
}
}