-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
89 lines (89 loc) · 2.19 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
{
"name": "coc-sql",
"version": "0.12.0",
"description": "SQL extension for coc.nvim",
"main": "lib/index.js",
"author": "Heyward Fann <[email protected]>",
"license": "MIT",
"scripts": {
"lint": "eslint src --ext ts",
"build": "node esbuild.js",
"prepare": "node esbuild.js"
},
"engines": {
"coc": "^0.0.80"
},
"keywords": [
"coc.nvim"
],
"repository": {
"type": "git",
"url": "https://github.com/fannheyward/coc-sql"
},
"activationEvents": [
"onLanguage:sql"
],
"devDependencies": {
"@types/node": "^16.18.48",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.1.0",
"coc.nvim": "^0.0.83-next.18",
"esbuild": "^0.24.0",
"eslint": "^8.15.0",
"rimraf": "^5.0.0",
"typescript": "^5.6.2"
},
"contributes": {
"configuration": {
"type": "object",
"title": "coc-sql configuration",
"properties": {
"sql.formatOptions": {
"type": "object",
"default": {},
"description": "Format options passed to sql-formatter, check https://github.com/sql-formatter-org/sql-formatter#configuration-options"
},
"sql.database": {
"type": "string",
"default": "guess",
"enum": [
"db2",
"hive",
"mysql",
"mariadb",
"bigquery",
"postgresql",
"transactsql"
],
"description": "Define the database to lint"
},
"sql.lintOnOpen": {
"type": "boolean",
"default": true,
"description": "Lint sql file on opening"
},
"sql.lintOnChange": {
"type": "boolean",
"default": true,
"description": "Lint sql file on change"
},
"sql.lintOnSave": {
"type": "boolean",
"default": true,
"description": "Lint sql file on save"
}
}
},
"commands": [
{
"command": "sql.Format",
"title": "Format sql file by sql-formatter"
}
]
},
"dependencies": {
"node-sql-parser": "^5.3.2",
"pg-query-emscripten": "^5.1.0",
"sql-formatter": "^15.4.2"
}
}