forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 2.17 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
{
"name": "slint",
"displayName": "Slint",
"description": "Slint Language extension",
"version": "0.2.2",
"publisher": "Slint",
"icon": "extension-logo.png",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/slint-ui/slint"
},
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Programming Languages"
],
"preview": true,
"activationEvents": [
"onLanguage:slint"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "slint",
"aliases": [
"Slint"
],
"extensions": [
".slint",
".60"
],
"configuration": "language-configuration.json"
}
],
"grammars": [
{
"language": "slint",
"scopeName": "source.slint",
"path": "./slint.tmLanguage.json"
}
],
"commands": [
{
"command": "slint.showPreview",
"title": "Show Preview",
"category": "Slint"
},
{
"command": "slint.reload",
"title": "Restart server",
"category": "Slint"
}
],
"menus": {
"commandPalette": [
{
"command": "slint.showPreview",
"when": "editorLangId == slint"
},
{
"command": "slint.reload"
}
]
},
"configuration": {
"type": "object",
"title": "Slint",
"properties": {
"slint.lsp-args": {
"type": "array",
"items": {
"type": "string"
},
"description": "The command line arguments passed to the Slint LSP server"
}
}
}
},
"dependencies": {
"vscode-languageclient": "^7"
},
"files": [
"bin/slint-lsp-*"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"local-package": "mkdir -p bin && cp ../../target/debug/slint-lsp bin/ && npx vsce package",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
}
}