-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.09 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
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
{
"name": "samt",
"displayName": "SAMT",
"publisher": "samt",
"preview": false,
"repository": {
"type": "git",
"url": "https://github.com/samtkit/vscode"
},
"description": "VS Code support for the Simple API Modeling Toolkit",
"version": "1.0.0",
"packageManager": "pnpm@8.6.9",
"engines": {
"vscode": "^1.78.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "samt",
"aliases": [
"SAMT",
"samt"
],
"extensions": [
".samt"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/language-light.png",
"dark": "./icons/language-dark.png"
}
}
],
"grammars": [
{
"language": "samt",
"scopeName": "source.samt",
"path": "./syntaxes/samt.tmLanguage.json"
}
],
"snippets": [
{
"language": "samt",
"path": "./snippets.json"
}
],
"configuration": [
{
"title": "SAMT - Simple API Modeling Toolkit",
"properties": {
"samt.java.home": {
"type": "string",
"default": "",
"description": "Path to a java installation for the language server"
},
"samt.languageServer.path": {
"type": "string",
"default": "",
"description": "Path to the JAR file of the SAMT language server"
}
}
}
],
"commands": [
{
"command": "samt.restartSamtServer",
"title": "Restart SAMT Server",
"category": "SAMT"
}
],
"taskDefinitions": [
{
"type": "samt",
"properties": {
"cwd": {
"type": "string",
"description": "Path to the working directory containing the SAMT wrapper",
"default": ""
},
"command": {
"type": "string",
"description": "Command to run",
"default": "compile",
"enum": [
"compile",
"dump",
"wrapper"
]
},
"args": {
"type": "array",
"description": "Arguments to pass to the command",
"default": [
"samt.yaml"
]
}
},
"required": [
"cwd",
"command",
"args"
],
"when": "shellExecutionSupported"
}
]
},
"activationEvents": [
"workspaceContains:**/samt.yaml"
],
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"lint": "prettier --check \"src/**/*.ts\" && eslint src --ext ts",
"test": "pnpm run test-compile && pnpm run lint && node ./out/test/runTest.js",
"vscode:prepublish": "pnpm run esbuild-base --minify",
"esbuild-base": "tsc --noEmit -p ./ && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"build": "pnpm run esbuild-base --sourcemap",
"watch": "pnpm run esbuild-base --sourcemap --watch",
"test-compile": "tsc -p ./",
"package": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.39",
"@types/vscode": "~1.78.1",
"@types/which": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@vscode/test-electron": "^2.3.3",
"@vscode/vsce": "^2.19.0",
"esbuild": "^0.18.16",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
},
"license": "MIT",
"dependencies": {
"@microsoft/vscode-file-downloader-api": "^1.0.1",
"axios": "^1.4.0",
"get-port": "^7.0.0",
"jdk-utils": "^0.5.0",
"vscode-languageclient": "^8.1.0",
"which": "^3.0.1"
},
"extensionDependencies": [
"mindaro-dev.file-downloader"
],
"icon": "./icons/plugin.png"
}