-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
129 lines (129 loc) · 3.59 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
{
"name": "smithy",
"description": "Smithy vscode extension",
"author": "Olivier Mélois",
"version": "0.0.0",
"icon": "images/hammer.png",
"publisher": "disneystreaming",
"repository": {
"type": "git",
"url": "https://github.com/disneystreaming/vscode-smithy"
},
"categories": [],
"keywords": [
"smithy"
],
"activationEvents": [
"onLanguage:smithy"
],
"extensionKind": [
"workspace"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "vscode-smithy configuration",
"properties": {
"smithyLsp.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"smithyLsp.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "verbose",
"description": "Traces the communication between VS Code and the language server."
},
"smithyLsp.version": {
"scope": "window",
"type": "string",
"default": "latest.release",
"description": "Version of the Smithy LSP (see https://github.com/disneystreaming/smithy-language-server)"
},
"smithyLsp.lspCoordinates": {
"scope": "window",
"type": "string",
"default": "com.disneystreaming.smithy:smithy-language-server",
"description": "Language Server JAR to power the extension"
},
"smithyLsp.lspJavaOpt": {
"scope": "window",
"type": "string",
"description": "Java options to be forwarded to the Language Server launch. Options should be separated by spaces."
}
}
},
"languages": [
{
"id": "smithy",
"extensions": [
".smithy"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "smithy",
"scopeName": "source.smithy",
"path": "./smithy.tmGrammar.json"
}
],
"commands": [
{
"command": "smithyLsp.restart",
"title": "Smithy LSP: Restart server"
}
]
},
"scripts": {
"vscode:prepublish": "yarn compile",
"prepublishOnly": "vsce package -o extension.vsix",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"clean": "rm -rf node_modules/ out/",
"test": "jest",
"test:it": "yarn run compile && node ./out/it/runTest.js",
"test:watch": "yarn run test --watch",
"build": "vsce package --yarn",
"format": "prettier --write '**/*.{ts,js,json,yml}'",
"format-check": "prettier --check '**/*.{ts,js,json,yml}'",
"ci": "yarn clean && yarn install --no-progress && yarn format-check && yarn build && yarn test"
},
"files": [
"extension.vsix"
],
"engines": {
"vscode": "^1.43.0"
},
"dependencies": {
"concat-map": "^0.0.2",
"follow-redirects": "^1.14.9",
"semver": "^7.5.0",
"unzip-stream": "^0.3.4",
"vscode-languageclient": "^8.0.0"
},
"devDependencies": {
"@types/follow-redirects": "^1.14.1",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.21",
"@types/vscode": "^1.43.0",
"@typescript-eslint/parser": "^2.3.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.10.0",
"jest": "^27.5.1",
"jest-environment-node": "^27.5.1",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2",
"vsce": "^2.10.0"
}
}