-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
200 lines (200 loc) · 5.2 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
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "prisma-insider",
"displayName": "Prisma - Insider",
"description": "This is the Insider Build of the Prisma VS Code extension (only use it if you are also using the dev version of the CLI).",
"version": "31.0.7152",
"license": "Apache-2.0",
"icon": "logo_white.png",
"engines": {
"vscode": "^1.85.0"
},
"publisher": "Prisma",
"categories": [
"Programming Languages"
],
"dependencies": {
"@prisma/language-server": "31.0.7152",
"checkpoint-client": "1.1.33",
"env-paths": "2.2.1",
"minimatch": "6.2.0",
"vscode-languageclient": "7.0.0",
"watcher": "1.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/prisma/language-tools.git",
"directory": "packages/vscode"
},
"scripts": {
"build": "tsc -p ./",
"watch": "npm run build -- -w",
"test": "rm -rf ./dist && npm run build && node dist/src/__test__/runTest true",
"vscode:prepublish": "npm run build",
"package": "vsce package"
},
"main": "./dist/src/extension.js",
"activationEvents": [
"onLanguage:prisma",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"contributes": {
"languages": [
{
"id": "prisma",
"aliases": [
"Prisma",
"prisma"
],
"icon": {
"light": "./prisma_icon.svg",
"dark": "./prisma_icon.svg"
},
"extensions": [
".prisma"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "prisma",
"scopeName": "source.prisma",
"path": "./syntaxes/prisma.tmLanguage.json"
},
{
"injectTo": [
"source.js",
"source.ts",
"source.js.jsx",
"source.jsx",
"source.tsx",
"source.vue"
],
"scopeName": "inline.prisma",
"path": "./syntaxes/prisma-inlined.json",
"embeddedLanguages": {
"meta.embedded.block.prisma": "prisma"
}
},
{
"injectTo": [
"source.js",
"source.ts",
"source.js.jsx",
"source.jsx",
"source.tsx",
"source.vue"
],
"scopeName": "source.ts.prismaClientRawSQL",
"path": "./syntaxes/prismaClientRawSQL.json",
"embeddedLanguages": {
"meta.embedded.block.sql": "sql"
}
},
{
"scopeName": "markdown.prisma.codeblock",
"path": "./syntaxes/prisma.markdown.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.prisma": "prisma"
}
}
],
"configuration": {
"type": "object",
"title": "Prisma",
"properties": {
"prisma.fileWatcher": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "Enable, when checked, the File Watcher functionality for Prisma Client."
},
"prisma.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Setting for logging between the VS Code extension and the language server."
},
"prisma.enableCodeLens": {
"type": "boolean",
"default": true
},
"prisma.scriptRunner": {
"type": "string",
"enum": [
"npx",
"pnpm",
"yarn"
],
"default": "npx"
},
"prisma.schemaPath": {
"type": "string",
"examples": [
"/path/to/your/schema.prisma"
],
"description": "If you have a Prisma schema file in a custom path, you will need to provide said path `/path/to/your/schema.prisma` to run generate"
}
}
},
"commands": [
{
"command": "prisma.restartLanguageServer",
"title": "Restart Language Server",
"category": "Prisma"
},
{
"command": "prisma.filewatcherEnable",
"title": "Enable the File Watcher functionality for Prisma Client.",
"category": "Prisma"
},
{
"command": "prisma.filewatcherDisable",
"title": "Disable the File Watcher functionality for Prisma Client.",
"category": "Prisma"
},
{
"command": "prisma.enableCodeLens",
"title": "Enable CodeLens",
"category": "Prisma"
},
{
"command": "prisma.disableCodeLens",
"title": "Disable CodeLens",
"category": "Prisma"
},
{
"command": "prisma.generate",
"title": "Generate",
"category": "Prisma"
}
]
},
"devDependencies": {
"@types/glob": "8.1.0",
"@types/mocha": "10.0.6",
"@types/vscode": "1.85.0",
"@vscode/test-electron": "2.4.1",
"is-ci": "3.0.1",
"mocha": "10.6.0",
"ovsx": "0.9.1",
"typescript": "5.5.3",
"@vscode/vsce": "2.29.0"
},
"gitHead": "7d51b157647fe1705813a30d1a77b8ccf136b8d4",
"publishConfig": {
"access": "public"
},
"preview": true
}