-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
103 lines (103 loc) · 2.9 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
{
"name": "wasp",
"displayName": "Wasp",
"description": "Wasp language extension for Visual Studio Code.",
"icon": "images/wasp-logo.png",
"galleryBanner": {
"color": "#2a2c2d",
"theme": "dark"
},
"version": "0.5.3",
"publisher": "wasp-lang",
"engines": {
"vscode": "^1.67.0"
},
"repository": {
"type": "git",
"url": "https://github.com/wasp-lang/vscode-wasp"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onCommand:vscode-wasp.restartLanguageServer",
"onLanguage:wasp"
],
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "wasp",
"extensions": [
".wasp"
],
"configuration": "./language-configuration.json",
"icon": {
"dark": "./images/wasp-logo.png",
"light": "./images/wasp-logo.png"
}
}
],
"grammars": [
{
"language": "wasp",
"scopeName": "source.wasp",
"path": "./syntaxes/wasp.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.json": "json",
"meta.embedded.block.prisma": "prisma"
}
}
],
"configuration": {
"type": "object",
"title": "Wasp",
"properties": {
"wasp.server.executable": {
"scope": "resource",
"type": "string",
"description": "Path to wasp executable. Tries to use wasp on PATH if not set."
},
"wasp.server.useOutputPanelForLogging": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Send logs from the wasp language server to the output panel. If enabled, the log file setting will be ignored."
},
"wasp.server.logFile": {
"scope": "resource",
"type": "string",
"description": "Path to log file for wasp language server. No logging if not set."
}
}
},
"commands": [
{
"command": "vscode-wasp.restartLanguageServer",
"title": "Wasp: Restart Wasp LSP Server"
}
]
},
"devDependencies": {
"@types/node": "^18.7.23",
"@types/vscode": "^1.67.0",
"esbuild": "^0.15.9",
"js-yaml": "^4.1.0",
"typescript": "^4.8.4",
"prettier": "3.0.3"
},
"scripts": {
"vscode:prepublish": "npm run compile-yaml && npm run esbuild-base -- --minify",
"build": "npm run compile-yaml && npm run esbuild-base -- --sourcemap",
"watch": "npm run compile-yaml && npm run esbuild-base -- --sourcemap --watch",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"compile-yaml": "js-yaml syntaxes/wasp.tmLanguage.yaml > syntaxes/wasp.tmLanguage.json",
"format": "prettier --write src/"
},
"extensionDependencies": [
"Prisma.prisma"
],
"dependencies": {
"vscode-languageclient": "^8.0.2"
}
}