-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.59 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.59 KB
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
113
114
115
116
117
118
119
{
"name": "sqlrunner",
"displayName": "SqlRunner",
"description": "Run some SQL in MySQL client.",
"publisher": "kwalter94",
"repository": {
"type": "git",
"url": "https://github.com/kwalter94/vscode-sqlrunner"
},
"version": "0.1.0",
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:sqlrunner.runQuery",
"onCommand:sqlrunner.connectToDatabase"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "sqlrunner.runQuery",
"title": "SQL Runner: Run SQL"
},
{
"command": "sqlrunner.connectToDatabase",
"title": "SQL Runner: Connect to database",
"icon": "media/images/plug-solid.svg"
},
{
"command": "sqlrunner.refreshTables",
"title": "SQL Runner: Refresh Tables",
"icon": "media/images/arrows-rotate-solid.svg"
},
{
"command": "sqlrunner.describeTable",
"title": "SQL Runner: Describe Table"
}
],
"menus": {
"view/title": [
{
"command": "sqlrunner.connectToDatabase",
"when": "view == sqlrunner-database-objects",
"group": "navigation"
},
{
"command": "sqlrunner.refreshTables",
"when": "view == sqlrunner-database-objects",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "sqlrunner.describeTable",
"when": "view == sqlrunner-database-objects && viewItem == table",
"group": "inline"
}
]
},
"keybindings": [
{
"key": "alt+q e",
"command": "sqlrunner.runQuery",
"when": "editorTextFocus"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "sqlrunner-explorer",
"title": "SQL Runner",
"icon": "media/images/database-solid.svg"
}
]
},
"views": {
"sqlrunner-explorer": [
{
"id": "sqlrunner-database-objects",
"name": "Database Objects",
"icon": "media/images/table-solid.svg"
}
]
}
},
"scripts": {
"lint": "eslint --ext .tx,.tsx",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"test-compile": "tsc -p ./",
"pretest": "yarn run lint",
"test": "yarn run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/mysql": "^2.15.21",
"@types/node": "^12.11.7",
"@types/pg": "^8.6.5",
"@types/vscode": "^1.50.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.13.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.7.2"
},
"dependencies": {
"handlebars": "^4.7.6",
"mysql": "^2.18.1",
"pg": "^8.5.0"
}
}