-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.59 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.59 KB
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
{
"name": "tablegen-lsp",
"displayName": "tablegen-lsp",
"description": "",
"publisher": "arata-nvm",
"repository": {
"url": "https://github.com/arata-nvm/tablegen-lsp"
},
"version": "0.5.0",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "tablegen",
"aliases": [
"TableGen",
"td"
],
"extensions": [
".td"
],
"configuration": "./third-party/language-configuration.json"
}
],
"grammars": [
{
"language": "tablegen",
"scopeName": "source.tablegen",
"path": "./third-party/language-grammar.json"
}
],
"commands": [
{
"command": "tablegen-lsp.restartServer",
"title": "Restart server",
"category": "tablegen-lsp"
},
{
"command": "tablegen-lsp.setSourceRoot",
"title": "Set Source Root",
"category": "tablegen-lsp"
},
{
"command": "tablegen-lsp.clearSourceRoot",
"title": "Clear Source Root",
"category": "tablegen-lsp"
}
],
"menus": {
"explorer/context": [
{
"command": "tablegen-lsp.setSourceRoot",
"group": "tablegen-lsp",
"when": "resourceScheme == file && resourceExtname == .td"
}
],
"editor/title/context": [
{
"command": "tablegen-lsp.setSourceRoot",
"group": "tablegen-lsp",
"when": "resourceScheme == file && resourceExtname == .td"
}
]
},
"configuration": {
"title": "tablegen-lsp",
"properties": {
"tablegen-lsp.includePath": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "An array of paths to workspace folders containing tablegen files."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build-base -- --minify",
"package": "vsce package",
"build-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --target=node20",
"build": "npm run build-base -- --sourcemap",
"watch": "npm run build-base -- --sourcemap --watch",
"format:fix": "prettier --write ./src",
"format:check": "prettier --check ./src",
"lint:fix": "eslint --fix ./src",
"lint:check": "eslint ./src",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "24.x",
"@types/vscode": "^1.82.0",
"@vscode/vsce": "^3.4.2",
"@vscode/test-electron": "^2.3.4",
"esbuild": "^0.27.0",
"eslint": "^9.0.0",
"glob": "^13.0.0",
"mocha": "^11.0.0",
"prettier": "^3.4.2",
"typescript": "^5.1.6",
"typescript-eslint": "^8.22.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.0"
}
}