forked from fannheyward/coc-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 1.84 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
{
"name": "coc-sql",
"version": "0.2.10",
"description": "SQL extension for coc.nvim",
"main": "lib/index.js",
"author": "Heyward Fann <fannheyward@gmail.com>",
"license": "MIT",
"scripts": {
"clean": "rimraf lib",
"watch": "webpack --watch",
"build": "webpack",
"prepare": "npm-run-all clean build"
},
"engines": {
"coc": "^0.0.70"
},
"keywords": [
"coc.nvim"
],
"repository": {
"type": "git",
"url": "https://github.com/fannheyward/coc-sql"
},
"devDependencies": {
"@types/node": "^13.13.2",
"coc.nvim": "^0.0.77",
"node-sql-parser": "^1.8.3",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"sql-formatter": "^2.3.3",
"ts-loader": "^7.0.1",
"typescript": "^3.5.3",
"vscode-languageserver-protocol": "^3.15.0-next.14",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"contributes": {
"configuration": {
"type": "object",
"title": "TexLab configuration",
"properties": {
"sql.database": {
"type": "string",
"default": "mysql",
"enum": [
"hive",
"mysql",
"mariadb",
"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"
}
]
}
}