-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 4.8 KB
/
package.json
File metadata and controls
174 lines (174 loc) · 4.8 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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "format-code",
"title": "Format Code",
"description": "Format code on the clipboard",
"icon": "icon.png",
"author": "ikaraszi",
"categories": ["Developer Tools"],
"license": "MIT",
"commands": [
{
"name": "format-angular",
"title": "Format Angular",
"description": "Formats Angular on the clipboard",
"mode": "view"
},
{
"name": "format-css",
"title": "Format CSS",
"description": "Formats CSS on the clipboard",
"mode": "view"
},
{
"name": "format-glimmer",
"title": "Format Glimmer",
"description": "Formats Glimmer on the clipboard",
"mode": "view"
},
{
"name": "format-graphql",
"title": "Format GraphQL",
"description": "Formats GraphQL on the clipboard",
"mode": "view"
},
{
"name": "format-html",
"title": "Format HTML",
"description": "Formats HTML on the clipboard",
"mode": "view"
},
{
"name": "format-javascript",
"title": "Format JavaScript",
"description": "Formats JavaScript on the clipboard",
"mode": "view"
},
{
"name": "format-json",
"title": "Format JSON",
"description": "Formats JSON on the clipboard",
"mode": "view"
},
{
"name": "format-json5",
"title": "Format JSON5",
"description": "Formats JSON5 on the clipboard",
"mode": "view"
},
{
"name": "format-less",
"title": "Format Less",
"description": "Formats Less on the clipboard",
"mode": "view"
},
{
"name": "format-lwc",
"title": "Format LWC",
"description": "Formats LWC on the clipboard",
"mode": "view"
},
{
"name": "format-markdown",
"title": "Format Markdown",
"description": "Formats Markdown on the clipboard",
"mode": "view"
},
{
"name": "format-mdx",
"title": "Format MDX",
"description": "Formats MDX on the clipboard",
"mode": "view"
},
{
"name": "format-scss",
"title": "Format SCSS",
"description": "Formats SCSS on the clipboard",
"mode": "view"
},
{
"name": "format-typescript",
"title": "Format TypeScript",
"description": "Formats TypeScript on the clipboard",
"mode": "view"
},
{
"name": "format-vue",
"title": "Format Vue",
"description": "Formats Vue on the clipboard",
"mode": "view"
},
{
"name": "format-yaml",
"title": "Format YAML",
"description": "Formats YAML on the clipboard",
"mode": "view"
},
{
"name": "format-sql",
"title": "Format SQL",
"description": "Formats SQL on the clipboard",
"mode": "view"
}
],
"preferences": [
{
"name": "printWidth",
"title": "Print Width",
"type": "textfield",
"description": "Specify the line length that the printer will wrap on.",
"placeholder": "100",
"required": false
},
{
"name": "sqlDialect",
"title": "SQL dialect",
"type": "dropdown",
"description": "Set the SQL dialect",
"data": [
{ "value": "sql", "title": "Standard SQL" },
{ "value": "bigquery", "title": "GCP BigQuery" },
{ "value": "db2", "title": "IBM DB2" },
{ "value": "db2i", "title": "IBM DB2i (experimental)" },
{ "value": "duckdb", "title": "DuckDB" },
{ "value": "hive", "title": "Apache Hive" },
{ "value": "mariadb", "title": "MariaDB" },
{ "value": "mysql", "title": "MySQL" },
{ "value": "tidb", "title": "TiDB" },
{ "value": "n1ql", "title": "Couchbase N1QL" },
{ "value": "plsql", "title": "Oracle PL/SQL" },
{ "value": "postgresql", "title": "PostgreSQL" },
{ "value": "redshift", "title": "Amazon Redshift" },
{ "value": "singlestoredb", "title": "SingleStoreDB" },
{ "value": "snowflake", "title": "Snowflake" },
{ "value": "spark", "title": "Spark" },
{ "value": "sqlite", "title": "SQLite" },
{ "value": "transactsql", "title": "SQL Server Transact-SQL" },
{ "value": "trino", "title": "Trino / Presto" }
],
"required": false
}
],
"dependencies": {
"@raycast/api": "^1.55.2",
"@raycast/utils": "^1.8.0",
"prettier": "^2.8.8",
"sql-formatter": "^15.6.2"
},
"devDependencies": {
"@raycast/eslint-config": "1.0.5",
"@types/node": "18.8.3",
"@types/prettier": "^2.7.3",
"@types/react": "18.0.9",
"eslint": "^7.32.0",
"typescript": "^4.4.3"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"eslint": "eslint src",
"lint": "ray lint",
"publish": "npx @raycast/api@latest publish"
}
}