-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·99 lines (99 loc) · 2.57 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
{
"name": "latte-lang",
"publisher": "smuuf",
"displayName": "Nette Latte templates",
"repository": {
"type": "git",
"url": "https://github.com/smuuf/vscode-latte-lang"
},
"description": "Support for Nette Latte template files.",
"version": "0.0.9",
"scripts": {
"test": "bun test",
"clear-build": "rm -rf ./out/*",
"vscode:prepublish": "npm run clear-build && npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"
},
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Programming Languages"
],
"icon": "./resources/logo.png",
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "latte",
"aliases": [
"Latte",
"latte"
],
"extensions": [
".latte"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "latte",
"scopeName": "source.latte",
"path": "./syntaxes/latte.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"latte-lsp.trace.server": {
"scope": "window",
"type": "object",
"description": "Traces the communication between VS Code and the language server.",
"properties": {
"verbosity": {
"type": "string",
"description": "Controls the verbosity of the trace.",
"enum": [
"off",
"message",
"verbose"
],
"default": "verbose"
},
"format": {
"type": "string",
"description": "Controls the output format of the trace.",
"enum": [
"text",
"json"
],
"default": "text"
}
}
}
}
}
},
"capabilities": {
"hoverProvider": true,
"definitionProvider": true,
"completionProvider": true
},
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@types/vscode": "^1.84.1",
"@vscode/vsce": "^2.22.0",
"esbuild": "^0.19.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@flatten-js/interval-tree": "^1.1.1",
"php-parser": "^3.1.5"
}
}