Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 4.97 KB
/
Copy pathpackage.json
File metadata and controls
144 lines (144 loc) · 4.97 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
{
"name": "vscode-vyper",
"displayName": "Vyper",
"description": "Ethereum Vyper language support for Visual Studio Code",
"license": "MIT",
"version": "0.0.10",
"keywords": [
"vyper",
"ethereum",
"blockchain",
"compiler",
"security"
],
"publisher": "tintinweb",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.20.2"
},
"categories": [
"Programming Languages",
"Snippets"
],
"bugs": {
"url": "https://github.com/tintinweb/vscode-vyper/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tintinweb/vscode-vyper"
},
"activationEvents": [
"onLanguage:vyper",
"onCommand:vyper.compileContract"
],
"main": "./src/extension.js",
"browser": "./src/browser.js",
"contributes": {
"languages": [
{
"id": "vyper",
"aliases": [
"Vyper",
"vyper",
"vy"
],
"extensions": [
".vy",
".vy.py",
".v.py",
".npmvyper.py"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "vyper",
"scopeName": "source.vyper",
"path": "./syntaxes/vyper.tmLanguage.json"
}
],
"snippets": [
{
"language": "vyper",
"path": "./snippets/vyper.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.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`"
},
"vyper.analysis.onSave": {
"type": "boolean",
"default": true,
"markdownDescription": "Automatically submit the compiled bytecode to MythX for security analysis and annotate the code with the security scan results. See https://mythx.io for details"
},
"vyper.analysis.mythx.password": {
"type": "string",
"default": "",
"markdownDescription": "MythX Password. See https://mythx.io to get password"
},
"vyper.analysis.mythx.ethAddress": {
"type": "string",
"default": "initial",
"markdownDescription": "MetaMask ETH address used to login to MythX. Use 'trial' for trial mode. See https://mythx.io"
}
}
},
"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",
"format": "prettier --ignore-path ./prettierignore --write .",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map"
},
"dependencies": {
"async": "^2.6.3",
"chai": "^4.2.0",
"mythxjs": "^1.3.1",
"path-browserify": "^1.0.1",
"shell-escape": "^0.2.0"
},
"devDependencies": {
"prettier": "^2.5.1",
"webpack": "^5.65.0"
}
}