forked from kufii/vscode-sql-formatter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.16 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
{
"name": "vscode-sql-formatter",
"displayName": "SQL Formatter",
"description": "Format sql files using the sql-formatter npm package",
"version": "1.4.8",
"publisher": "teejae",
"repository": {
"type": "git",
"url": "https://github.com/teejae/vscode-sql-formatter.git"
},
"engines": {
"vscode": "^1.38.0"
},
"categories": [
"Formatters"
],
"keywords": [
"sql",
"formatter",
"db2",
"mariadb",
"mysql",
"n1ql",
"plsql",
"postgresql",
"redshift",
"spark",
"sql",
"tsql"
],
"activationEvents": [
"onLanguage:sql"
],
"contributes": {
"configuration": {
"type": "object",
"title": "SQL Formatter",
"properties": {
"sql-formatter.dialect": {
"scope": "resource",
"type": "string",
"enum": [
"db2",
"mariadb",
"mysql",
"n1ql",
"plsql",
"postgresql",
"redshift",
"spark",
"sql",
"tsql"
],
"default": "sql",
"description": "Which dialect to format with. See https://github.com/zeroturnaround/sql-formatter for supported options"
},
"sql-formatter.uppercase": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Convert keywords to uppercase"
},
"sql-formatter.linesBetweenQueries": {
"scope": "resource",
"type": "number",
"minimum": 1,
"default": 2,
"description": "Change number of linebreaks between queries"
}
}
}
},
"main": "./src/extension.js",
"scripts": {
"lint": "eslint .",
"format": "prettier --write \"**/*.{js,jsx,md,json,css,prettierrc,eslintrc}\"",
"package": "vsce package"
},
"devDependencies": {
"eslint": "^6.6.0",
"eslint-config-adpyke-es6": "^1.4.13",
"eslint-config-prettier": "^6.5.0",
"glob": "^7.1.5",
"prettier": "^1.18.2",
"vsce": "^2.6.7"
},
"dependencies": {
"sql-formatter": "git@github.com:teejae/sql-formatter.git#f752e4f4e83282c3ce6f6ffbfbbcd8d5fb9c25d7"
}
}