-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
201 lines (201 loc) · 5.51 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"name": "vscode-ext-ontology",
"displayName": "VSCode Extension for Ontology",
"description": "Extension for development and testing of Smart contracts on Ontology blockchain",
"version": "1.5.3",
"publisher": "zamborsky",
"engines": {
"vscode": "^1.28.0"
},
"keywords": [
"multi-root ready",
"ontology",
"smart contract"
],
"categories": [
"Programming Languages"
],
"icon": "img/512t.png",
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"activationEvents": [
"onCommand:ontology.compile",
"onCommand:ontology.deploy",
"onCommand:ontology.tools",
"onView:ontology.methods",
"onView:ontology.methods.debug",
"onDebug"
],
"main": "./out/extension",
"contributes": {
"breakpoints": [
{
"language": "python"
}
],
"debuggers": [
{
"type": "ontology",
"label": "Ontology Smart contract debugger",
"runtime": "node",
"program": "./out/debugger.js"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .avm",
"command": "ontology.deploy",
"group": "z_commands"
},
{
"when": "resourceExtname == .py",
"command": "ontology.compile",
"group": "z_commands"
},
{
"command": "ontology.tools",
"group": "z_commands"
}
]
},
"commands": [
{
"command": "ontology.compile",
"title": "Ontology: Compile Smart contract"
},
{
"command": "ontology.deploy",
"title": "Ontology: Deploy Smart contract"
},
{
"command": "ontology.tools",
"title": "Ontology: Tools"
},
{
"command": "ontology.methods.refresh",
"title": "Ontology: Refresh"
},
{
"command": "ontology.invoke",
"title": "Ontology: Invoke smart contract method"
},
{
"command": "ontology.invoke.click",
"title": "Ontology: Invoke smart contract method"
}
],
"views": {
"explorer": [
{
"id": "ontology.methods",
"name": "Smart contract methods"
}
],
"debug": [
{
"id": "ontology.methods.debug",
"name": "Smart contract methods"
}
]
},
"configuration": [
{
"title": "Ontology",
"properties": {
"ontology.network.type": {
"type": "string",
"enum": [
"mainNet",
"testNet",
"privateNet"
],
"default": "testNet",
"description": "Specifies which network will be used during deploy and invoke.",
"scope": "window"
},
"ontology.network.private": {
"type": "string",
"default": "http://127.0.0.1:20336",
"description": "PrivateNet address RPC address in the form http://host:port .",
"scope": "window"
},
"ontology.wallet": {
"type": "string",
"default": "${workspaceFolder}/wallet/wallet.json",
"description": "Wallet file used during deploy and invoke. You can use ${workspaceFolder} in the path.",
"scope": "window"
},
"ontology.payer": {
"type": "string",
"default": "",
"description": "Default payer address. Must be found in wallet file.",
"scope": "window"
},
"ontology.deploy.gasLimit": {
"type": "string",
"default": "30000000",
"description": "Gas limit used during deploy.",
"scope": "window"
},
"ontology.deploy.gasPrice": {
"type": "string",
"default": "500",
"description": "Gas price used during deploy.",
"scope": "window"
},
"ontology.invoke.gasLimit": {
"type": "string",
"default": "30000000",
"description": "Gas limit used during invoke.",
"scope": "window"
},
"ontology.invoke.gasPrice": {
"type": "string",
"default": "500",
"description": "Gas price used during invoke.",
"scope": "window"
},
"ontology.compile.pythonCompiler2": {
"type": "boolean",
"default": false,
"description": "Use Python Compiler version 2.0.",
"scope": "window"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run compileTools",
"compile": "tsc -p ./",
"compileTools": "cd tools && npm run build:prod && cd ..",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"repository": {
"type": "git",
"url": "git://github.com/OntologyCommunityDevelopers/vscode-ext-ontology"
},
"bugs": {
"url": "https://github.com/OntologyCommunityDevelopers/vscode-ext-ontology/issues"
},
"homepage": "https://github.com/OntologyCommunityDevelopers/vscode-ext-ontology",
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.0.0",
"tslint": "^5.8.0",
"typescript": "^3.1.1",
"vscode": "^1.1.22"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"long": "^4.0.0",
"ontology-ts-test": "^0.2.37",
"ontology-ts-vm": "^0.3.17",
"vscode-debugadapter": "^1.32.1"
}
}