forked from juanfranblanco/vscode-solidity
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
167 lines (167 loc) · 5.18 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
163
164
165
166
167
{
"name": "solidity-solhint",
"description": "Ethereum Solidity Language for Visual Studio Code",
"keywords": [
"solidity",
"ethereum",
"blockchain",
"compiler",
"solhint"
],
"version": "1.1.0",
"publisher": "idrabenia",
"engines": {
"vscode": "^1.15.0"
},
"contributors": [
"Ilya Drabenia",
"Juan Blanco"
],
"bugs": {
"url": "https://github.com/tokenhouse/vscode-solidity/issues"
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/tokenhouse/vscode-solidity"
},
"categories": [
"Languages",
"Snippets"
],
"activationEvents": [
"onLanguage:solidity",
"onCommand:solidity.compile",
"onCommand:solidity.compile.active",
"onCommand:solidity.codegen"
],
"main": "./out/src/extension",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"abi-code-gen": "0.0.3",
"fs-extra": "^4.0.0",
"read-yaml": "^1.1.0",
"solc": "^0.4.13",
"solhint": "^1.1.5",
"truffle-artifactor": "^2.1.4",
"vscode-languageclient": "^3.3.0",
"vscode-languageserver": "^3.3.0",
"solparse": "^1.2.2"
},
"devDependencies": {
"@types/node": "^8.0.14",
"tslint": "^5.6.0",
"typescript": "^2.4.2",
"vscode": "^1.1.5"
},
"contributes": {
"configuration": {
"type": "object",
"title": "Solidity configuration",
"properties": {
"solidity.compileUsingRemoteVersion": {
"type": [
"string",
"null"
],
"default": null,
"description": "Compile using a remote version instead of the current one, for example: 'latest' or 'v0.4.3+commit.2353da71'"
},
"solidity.compileUsingLocalVersion": {
"type": [
"string",
"null"
],
"default": null,
"description": "Compile using a local version instead of the current one, for example: 'C://v0.4.3+commit.2353da71.js'"
},
"solidity.enabledSolhint": {
"type": [
"boolean"
],
"default": true,
"description": "Enables solhint linting"
},
"solidity.solhintRules": {
"type": [
"object"
],
"default": {},
"description": "Solhint linting rules"
},
"solidity.enabledAsYouTypeCompilationErrorCheck": {
"type": [
"boolean"
],
"default": true,
"description": "Enables as you type compilation of the document and error highlighting"
},
"solidity.validationDelay": {
"type": [
"number"
],
"default": 500,
"description": "Delay to trigger the validation of the changes of the current document (compilation, solhint)"
}
}
},
"languages": [
{
"id": "solidity",
"aliases": [
"Solidity",
"solidity"
],
"extensions": [
".sol"
],
"configuration": "./solidity.configuration.json"
}
],
"commands": [
{
"command": "solidity.compile",
"title": "Solidity: Compile All Solidity Contracts"
},
{
"command": "solidity.compile.active",
"title": "Solidity: Compile Current Solidity Contract"
},
{
"command": "solidity.codegen",
"title": "Solidity: Code generate from compilation output 'contract.json'"
}
],
"keybindings": [
{
"command": "solidity.compile.active",
"key": "f5",
"mac": "f5",
"when": "editorTextFocus && editorLangId == 'solidity'"
},
{
"command": "solidity.compile",
"key": "Ctrl+f5",
"mac": "Cmd+f5",
"when": "editorTextFocus && editorLangId == 'solidity'"
}
],
"snippets": [
{
"language": "solidity",
"path": "./snippets/solidity.json"
}
],
"grammars": [
{
"language": "solidity",
"scopeName": "source.solidity",
"path": "./syntaxes/solidity.json"
}
]
}
}