-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (147 loc) · 4.51 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "hive-sql-helper",
"version": "1.5.7",
"displayName": "Hive & Spark SQL Helper",
"description": "Help you efficiently and focus on Hive & Spark SQL development. support Hive & Spark SQL error grammar check, syntax highlighting, complete keywords, rename, find all references and code format.",
"publisher": "CamileSing",
"author": {
"name": "CamileSing",
"email": "CamileSing@gmail.com"
},
"license": "MIT",
"icon": "icons/Spark_and_hive.png",
"engines": {
"vscode": "^1.20.0"
},
"galleryBanner": {
"color": "#F2C45A",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/camilesing/Hive-Spark-SQL-Helper-VSCode"
},
"homepage": "https://github.com/camilesing/Hive-Spark-SQL-Helper-VSCode/main/README.md",
"categories": [
"Programming Languages",
"Formatters"
],
"keywords": [
"Hive SQL",
"HQL",
"Formatter"
],
"preview": false,
"contributes": {
"configuration": {
"title": "Error grammar Check Settings",
"properties": {
"sql-grammar-check.enable": {
"type": "boolean",
"default": false,
"description": "Enable hive & spark sql grammar check."
}
}
},
"languages": [
{
"id": "hive-sql",
"aliases": [
"HiveSQL",
"hive-sql",
"HQL"
],
"extensions": [
".hive_sql",
".hql"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/Apache_Hive_logo.png",
"dark": "./icons/Apache_Hive_logo.png"
}
},
{
"id": "spark-sql",
"aliases": [
"SparkSQL",
"spark-sql",
"SQL"
],
"extensions": [
".spark_sql",
".ssql"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/Spark_sql_logo.png",
"dark": "./icons/Spark_sql_logo.png"
}
}
],
"grammars": [
{
"language": "hive-sql",
"scopeName": "source.hive",
"path": "./syntaxes/hive.tmLanguage.json"
},
{
"language": "spark-sql",
"scopeName": "source.spark",
"path": "./syntaxes/spark.tmLanguage.json"
}
],
"snippets": [
{
"language": "hive-sql",
"path": "./snippets/hive-sql.json"
},
{
"language": "spark-sql",
"path": "./snippets/hive-sql.json"
}
],
"capabilities": {
"renameProvider": "true",
"referencesProvider": "true"
}
},
"activationEvents": [
"onLanguage:hql",
"onLanguage:hive-sql",
"onLanguage:spark-sql"
],
"scripts": {
"antlr4ts_spark": "antlr4ng -Dlanguage=TypeScript -visitor gen/SparkSQL.g4",
"antlr4ts_hive": "antlr4ng -Dlanguage=TypeScript -visitor gen/HiveSQL.g4",
"vscode:prepublish": "webpack --mode production",
"compile": "webpack --mode none",
"watch": "webpack --mode none --watch",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"main": "./out/extension.js",
"browser": "./out/extension.js",
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.20.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vscode/test-electron": "^2.3.0",
"antlr4ng-cli": "^2.0.0",
"eslint": "^8.39.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.3",
"typescript": "^5.0.4",
"webpack": "^5.88.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"antlr4": "^4.13.2",
"antlr4ng": "^3.0.10"
}
}