-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
100 lines (100 loc) · 2.77 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
{
"name": "kcl-vscode-extension",
"publisher": "kcl",
"displayName": "KCL",
"description": "Language extension for KCL",
"version": "0.2.2",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other",
"Programming Languages"
],
"activationEvents": [
"onLanguage:KCL",
"onLanguage:MOD",
"onCommand:kcl.restartLanguageServer"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"test": "node ./out/test/runTest.js",
"deploy": "vsce publish --yarn"
},
"dependencies": {
"@types/shelljs": "^0.8.11",
"axios": "^1.6.2",
"shelljs": "^0.8.5",
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^17.0.36",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.31.1",
"eslint": "^8.16.0",
"mocha": "^10.2.0",
"typescript": "^4.7.2"
},
"contributes": {
"commands": [
{
"command": "kcl.restartLanguageServer",
"title": "KCL: Restart Language Server"
}
],
"type": "object",
"title": "KCL configuration",
"properties": {
"languageServerExample.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
}
},
"languages": [
{
"id": "KCL",
"aliases": [
"KCL"
],
"extensions": [
".k"
],
"configuration": "./language-configuration.json"
},
{
"id": "MOD",
"extensions": [
".mod",
".mod.lock"
]
}
],
"grammars": [
{
"language": "KCL",
"scopeName": "source.kcl",
"path": "./syntaxes/KCL.tmLanguage.json"
},
{
"language": "MOD",
"scopeName": "source.toml",
"path": "./syntaxes/toml.tmLanguage.json"
}
]
},
"icon": "kcl-logo.png",
"repository": {
"type": "git",
"url": "https://github.com/kcl-lang/vscode-kcl"
}
}