forked from codefori/vscode-db2i
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 2.89 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
{
"name": "vscode-db2i",
"displayName": "Db2 for IBM i",
"description": "Db2 for IBM i tools in VS Code",
"version": "0.0.1",
"engines": {
"vscode": "^1.61.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:schemaBrowser"
],
"main": "./src/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "db2-explorer",
"title": "Db2 for i",
"icon": "$(database)"
}
]
},
"views": {
"db2-explorer": [
{
"id": "schemaBrowser",
"name": "Schema Browser",
"visibility": "visible",
"when": "code-for-ibmi:connected == true"
}
]
},
"viewsWelcome": [
{
"view": "db2-explorer",
"contents": "No connection found. Connect to an IBM i first."
}
],
"commands": [
{
"command": "vscode-db2i.refreshSchemaBrowser",
"title": "Refresh Schema Browser",
"category": "Db2 for i",
"icon": "$(refresh)"
},
{
"command": "vscode-db2i.addSchemaToSchemaBrowser",
"title": "Add Schema to Schema Browser",
"category": "Db2 for i",
"icon": "$(add)"
},
{
"command": "vscode-db2i.removeSchemaFromSchemaBrowser",
"title": "Remove schema from view",
"category": "Db2 for i",
"icon": "$(remove)"
},
{
"command": "vscode-db2i.generateSQL",
"title": "Generate SQL",
"category": "Db2 for i",
"icon": "$(add)"
}
],
"menus": {
"view/title": [
{
"command": "vscode-db2i.addSchemaToSchemaBrowser",
"group": "navigation",
"when": "view == schemaBrowser"
},
{
"command": "vscode-db2i.refreshSchemaBrowser",
"group": "navigation",
"when": "view == schemaBrowser"
}
],
"view/item/context": [
{
"command": "vscode-db2i.removeSchemaFromSchemaBrowser",
"when": "view == schemaBrowser && viewItem == schema"
},
{
"command": "vscode-db2i.generateSQL",
"when": "viewItem == table || viewItem == view || viewItem == alias || viewItem == constraint || viewItem == function || viewItem == variable || viewItem == index || viewItem == procedure || viewItem == sequence || viewItem == package || viewItem == trigger || viewItem == type"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.61.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^0.8.2"
}
}