forked from joe-re/sql-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.7 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
113
114
115
116
{
"name": "sql-language-server",
"displayName": "SQL Language Server",
"description": "SQL Language Server Extension for VSC",
"version": "1.2.1",
"main": "./packages/client/out/extension",
"repository": {
"type": "git",
"url": "git+https://github.com/joe-re/sql-language-server.git"
},
"keywords": [
"sql",
"language-server",
"language-server-protocol",
"lint",
"autocompletion"
],
"bugs": {
"url": "https://github.com/joe-re/sql-language-server"
},
"author": "joe-re <[email protected]>",
"license": "MIT",
"publisher": "joe-re",
"scripts": {
"bootstrap": "lerna bootstrap",
"lint": "yarn run eslint . --ext .js,.jsx,.ts,.tsx",
"vsc-compile": "yarn vsc-compile:client && yarn vsc-compile:server",
"vsc-compile:client": "cd ./packages/client && yarn run compile",
"vsc-compile:server": "yarn build:sqlint && cd ./packages/server && yarn run prepare-vsc-extension",
"test:server": "cd ./packages/server && yarn run test",
"test:parser": "cd ./packages/sql-parser && yarn run test",
"test:sqlint": "cd ./packages/sqlint && yarn run test",
"build:sqlint": "cd ./packages/sqlint && yarn run build",
"build:server": "cd ./packages/server && yarn run compile:index",
"watch": "run-p watch:client watch:server",
"watch:client": "cd ./packages/client && yarn run watch",
"watch:sqlint": "cd ./packages/sqlint && yarn run watch",
"watch:server": "wait-on ./packages/sqlint/dist/src/index.js && cd ./packages/server && yarn run watch:index",
"watch:dev-server:client": "cd ./example/monaco_editor && yarn run watch",
"watch:dev-server:server": "wait-on ./packages/server/dist/src/index.js && cd ./example/monaco_editor && yarn run start",
"dev": "yarn build:sqlint && run-p watch:sqlint watch:server watch:dev-server:client watch:dev-server:server",
"vscode:prepublish": "yarn run vsc-compile",
"npm:prepublish": "yarn build:sqlint && yarn build:server"
},
"engines": {
"vscode": "^1.45.1"
},
"activationEvents": [
"onLanguage:sql",
"onLanguage:python",
"onNotebook:kusto-notebook",
"onNotebook:jupyter-notebook"
],
"contributes": {
"commands": [
{
"command": "extension.switchDatabaseConnection",
"title": "Switch database connection",
"category": "SQLLanguageServer"
},
{
"command": "extension.fixAllFixableProblems",
"title": "Fix all auto-fixable problems",
"category": "SQLLanguageServer"
},
{
"command": "extension.rebuildSqlite3",
"title": "Rebuild SQLite3 Client",
"category": "SQLLanguageServer"
}
],
"configuration": {
"type": "object",
"title": "sql-language-server configuration",
"properties": {
"sqlLanguageServer.connections": {
"scope": "resource",
"type": "array",
"default": [],
"description": "connection setting"
},
"sqlLanguageServer.lint": {
"scope": "resource",
"type": "object",
"default": {},
"description": "lint setting"
}
}
}
},
"private": true,
"workspaces": [
"packages/*",
"example/*"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"lerna": "^4.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"typescript": "^4.5.5",
"wait-on": "^5.0.1"
},
"dependencies": {
"sqlite3": "^5.0.2"
},
"resolutions": {
"tar": ">4.4.18"
}
}