forked from tintinweb/vscode-vyper
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
162 lines (162 loc) · 5.53 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
158
159
160
161
162
{
"name": "vscode-vyper",
"displayName": "Vyper",
"description": "Ethereum Vyper language support for Visual Studio Code",
"license": "MIT",
"version": "0.1.0",
"keywords": [
"vyper",
"ethereum",
"blockchain",
"compiler",
"security"
],
"publisher": "tintinweb",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#EDE5D5",
"theme": "light"
},
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"bugs": {
"url": "https://github.com/tintinweb/vscode-vyper/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tintinweb/vscode-vyper"
},
"main": "./src/extension.js",
"browser": "./dist/web/extension.js",
"contributes": {
"languages": [
{
"id": "vyper",
"aliases": [
"Vyper",
"vyper",
"vy"
],
"extensions": [
".vy",
".vyi"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "images/icon_small_with_border.png",
"dark": "images/icon_small_with_border.png"
}
}
],
"grammars": [
{
"language": "vyper",
"scopeName": "source.vyper",
"path": "./syntaxes/vyper.tmLanguage.json"
}
],
"snippets": [
{
"language": "vyper",
"path": "./snippets/expr_builtins.json"
},
{
"language": "vyper",
"path": "./snippets/stmt_builtins.json"
},
{
"language": "vyper",
"path": "./snippets/expressions.json"
},
{
"language": "vyper",
"path": "./snippets/statements.json"
},
{
"language": "vyper",
"path": "./snippets/module.json"
},
{
"language": "vyper",
"path": "./snippets/other.json"
},
{
"language": "vyper",
"path": "./snippets/types.json"
}
],
"configuration": {
"type": "object",
"title": "Vyper (Ethereum)",
"properties": {
"vyper.compile.onSave": {
"type": "boolean",
"default": true,
"description": "Automatically compile when saving and annotate code with compile results."
},
"vyper.compile.verbose": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable/Suppress Compiler Success/Error Information Popup Messages. Compiler errors will still be decorated in the editor."
},
"vyper.mode.active": {
"type": "boolean",
"default": true,
"description": "Enable/Disable all active components of this extension (emergency)."
},
"vyper.decoration.enable": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable vyper active syntax highlighting for security."
},
"vyper.hover.enable": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable vyper tooltips/hover information."
},
"vyper.command": {
"type": "string",
"default": "vyper",
"description": "Defines how to invoke the vyper compiler command. This can by any shell command and the vyper arguments will be passed to this command as <vyper.command> <args>. Default is to assume vyper is installed in PATH and executable as `vyper`"
}
}
},
"commands": [
{
"command": "vyper.compileContract",
"title": "Vyper: Compile"
}
],
"x-keybindings": [
{
"key": "cmd+alt+shift+i",
"command": "editor.action.inspectTMScopes"
}
]
},
"scripts": {
"fetchGrammar": "rm -f syntaxes/vyper.tmLanguage.json && python3 ./scripts/fetch_vyper_language_spec.py > syntaxes/vyper.tmLanguage.json",
"test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
"pretest": "npm run compile-web",
"vscode:prepublish": "npm run package-web",
"compile-web": "webpack -c config/web.webpack.config.js",
"watch-web": "webpack -c config/web.webpack.config.js --watch",
"package-web": "webpack -c config/web.webpack.config.js --mode production --devtool hidden-source-map",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
},
"dependencies": {
"async": "^3.2.4",
"chai": "^4.2.0",
"shell-escape": "^0.2.0"
},
"devDependencies": {
"@vscode/test-web": "^0.0.52",
"webpack": "^5.66.0",
"webpack-cli": "^4.9.1"
}
}