-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
110 lines (110 loc) · 2.92 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
{
"name": "sway-vscode-plugin",
"displayName": "sway-vscode-plugin",
"description": "Sway Language Extension",
"version": "0.2.2",
"publisher": "FuelLabs",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/FuelLabs/sway-vscode-plugin.git"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"test": "sh ./scripts/e2e.sh",
"install-extension": "vsce package -o sway-vscode-plugin.vsix && code --install-extension sway-vscode-plugin.vsix --force",
"format:check": "prettier --check 'client/src' 'snippets' 'syntaxes'",
"format:fix": "prettier --write 'client/src' 'snippets' 'syntaxes'"
},
"engines": {
"vscode": "^1.64.0"
},
"categories": [
"Programming Languages",
"Extension Packs",
"Snippets",
"Themes"
],
"main": "./client/out/main",
"activationEvents": [
"onLanguage:sway"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Sway",
"properties": {
"sway-lsp.trace.server": {
"scope": "window",
"type": "string",
"description": "Traces the communication between VS Code and the Sway language server.",
"enum": [
"off",
"messages",
"verbose"
],
"enumDescriptions": [
"No traces",
"Error only",
"Full log"
],
"default": "off"
},
"sway-lsp.trace.extension": {
"description": "Enable logging of the Sway VS Code extension itself.",
"type": "boolean",
"default": false
},
"sway-lsp.debug.showParsedTokensAsWarnings": {
"markdownDescription": "Show successfully parsed tokens by the sway-lsp server as warnings. If set to false, sway-lsp will revert to only showing warnings and errors reported by the compiler.",
"default": false,
"type": "boolean"
}
}
},
"languages": [
{
"id": "sway",
"aliases": [
"Sway",
"sway"
],
"extensions": [
".sw"
],
"configuration": "./language-configuration.json"
}
],
"snippets": [
{
"language": "sway",
"path": "./snippets/sway.json"
}
],
"grammars": [
{
"language": "sway",
"scopeName": "source.sway",
"path": "./syntaxes/sway.tmLanguage.json"
}
]
},
"dependencies": {
"vscode-languageclient": "^7.0.0"
},
"devDependencies": {
"@types/mocha": "^8.2.3",
"@types/node": "^12.20.46",
"@types/vscode": "^1.64.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vscode/test-electron": "^1.6.1",
"eslint": "^7.32.0",
"mocha": "^8.4.0",
"prettier": "^2.5.1",
"typescript": "^4.5.5",
"vsce": "^2.5.3"
}
}