-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 4.75 KB
/
Copy pathpackage.json
File metadata and controls
164 lines (164 loc) · 4.75 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "stack-language",
"displayName": "Stack",
"description": "Syntax highlighting and native language intelligence for Stack architecture diagrams.",
"version": "0.1.0",
"publisher": "stack-sh",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/stack-sh/vscode.git"
},
"homepage": "https://stack-diagram.com/",
"bugs": {
"url": "https://github.com/stack-sh/vscode/issues"
},
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters"
],
"keywords": [
"architecture",
"diagram",
"language server",
"stack"
],
"galleryBanner": {
"color": "#111827",
"theme": "dark"
},
"main": "./dist/extension.js",
"extensionKind": [
"workspace"
],
"activationEvents": [
"onLanguage:stack"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "The Stack language server launches the configured native Stack CLI. Trust the workspace before enabling language intelligence."
},
"virtualWorkspaces": {
"supported": false,
"description": "The native Stack CLI requires a filesystem-backed extension host."
}
},
"contributes": {
"languages": [
{
"id": "stack",
"aliases": [
"Stack",
"stack"
],
"extensions": [
".stack"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "stack",
"scopeName": "source.stack",
"path": "./syntaxes/stack.tmLanguage.json"
}
],
"commands": [
{
"command": "stack.restartLanguageServer",
"title": "Restart Language Server",
"category": "Stack"
},
{
"command": "stack.showLanguageServerOutput",
"title": "Show Language Server Output",
"category": "Stack"
},
{
"command": "stack.openPlayground",
"title": "Open Playground",
"category": "Stack",
"icon": "$(open-preview)"
},
{
"command": "stack.openInstallationGuide",
"title": "Open CLI Installation Guide",
"category": "Stack"
}
],
"menus": {
"editor/title": [
{
"command": "stack.openPlayground",
"when": "editorLangId == stack",
"group": "navigation@10"
}
]
},
"configuration": {
"title": "Stack",
"properties": {
"stack.server.path": {
"type": "string",
"default": "stack",
"scope": "machine",
"description": "Executable path or command name for the Stack CLI. The extension runs it with the fixed `lsp` argument."
}
}
}
},
"scripts": {
"clean": "node scripts/clean.mjs",
"sync:language": "node scripts/sync-language-assets.mjs",
"check:language": "node scripts/sync-language-assets.mjs --check",
"check:types": "tsc --noEmit -p tsconfig.json",
"compile": "npm run sync:language && npm run check:types && node esbuild.mjs",
"package": "npm run sync:language && npm run check:types && node esbuild.mjs --production",
"vscode:prepublish": "npm run package",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"test:unit": "tsc -p tsconfig.test.json && node --test out-test/test/unit/*.test.js",
"test:integration:prepare": "node scripts/prepare-integration-cli.mjs",
"test:integration:run": "npm run package:check && node scripts/prepare-vsix-test.mjs && tsc -p tsconfig.test.json && vscode-test",
"test:integration": "node scripts/run-integration-tests.mjs",
"test": "npm run test:unit",
"validate:manifest": "node scripts/validate-manifest.mjs",
"check": "npm run clean && npm run format:check && npm run lint && npm run check:types && npm run test:unit && npm run package && npm run check:language && npm run validate:manifest",
"package:vsix": "node scripts/package-vsix.mjs",
"package:check": "node scripts/check-vsix.mjs",
"audit": "npm audit --audit-level=high"
},
"dependencies": {
"@stack-sh/language": "0.1.0",
"semver": "7.8.5",
"vscode-languageclient": "10.1.1"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/mocha": "10.0.10",
"@types/node": "20.19.43",
"@types/semver": "7.8.0",
"@types/vscode": "1.91.0",
"@vscode/test-cli": "0.0.15",
"@vscode/test-electron": "3.1.0",
"@vscode/vsce": "3.9.3-11",
"esbuild": "0.28.2",
"eslint": "10.10.0",
"globals": "17.12.0",
"mocha": "12.0.0",
"prettier": "3.9.6",
"typescript": "6.0.3",
"typescript-eslint": "8.69.0"
},
"overrides": {
"diff": "9.0.0",
"serialize-javascript": "7.1.1"
}
}