-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
157 lines (157 loc) · 4.21 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
{
"name": "near-discovery-ide",
"displayName": "NEAR BOS IDE",
"description": "Build a decentralized frontend in minutes. Known before as NEAR Social / Discovery",
"version": "2.2.1",
"publisher": "near-protocol",
"icon": "readme/near-protocol-near-logo.png",
"homepage": "/~https://github.com/near/near-vscode",
"repository": {
"type": "git",
"url": "/~https://github.com/near/near-vscode"
},
"bugs": {
"url": "/~https://github.com/near/near-vscode/issues",
"email": "devrel-ops@near.org"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onFileSystem:near",
"onWebviewPanel:viewType"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "near.login",
"title": "Login",
"category": "NEAR.discovery",
"enablement": "BOS.enabled"
},
{
"command": "near.openWidgetsFromAccount",
"title": "View account in workspace",
"enablement": "BOS.enabled",
"category": "NEAR.discovery"
},
{
"command": "near.publishWidget",
"title": "Publish Widget",
"category": "NEAR.discovery",
"enablement": "BOS.enabled",
"icon": "$(cloud-upload)"
},
{
"command": "near.showWidgetPreview",
"title": "Show Widget Preview",
"category": "NEAR.discovery",
"enablement": "BOS.enabled",
"icon": "$(preview)"
}
],
"resourceLabelFormatters": [
{
"scheme": "near",
"formatting": {
"label": "${path}",
"separator": " / ",
"workspaceSuffix": "NEAR",
"workspaceTooltip": "Widget on mainnet"
}
}
],
"viewsWelcome": [
{
"view": "near-discovery",
"contents": "[Start BOS IDE](command:near.startIDE)",
"when": "!BOS.enabled && BOS.canStart"
},
{
"view": "near-discovery",
"contents": "Please open a folder to start",
"when": "!BOS.enabled && !BOS.canStart"
},
{
"view": "near-discovery",
"contents": "[Login & Fetch Widgets](command:near.login)",
"when": "BOS.enabled"
},
{
"view": "near-discovery",
"contents": "[Fetch Account Widgets](command:near.openWidgetsFromAccount)",
"when": "BOS.enabled"
},
{
"view": "near-discovery",
"contents": "[Add Access Key](command:near.addKey)",
"when": "BOS.enabled"
}
],
"views": {
"explorer": [
{
"id": "near-discovery",
"name": "Near BOS"
}
]
},
"menus": {
"editor/title": [
{
"when": "BOS.enabled",
"command": "near.showWidgetPreview",
"group": "navigation"
},
{
"when": "BOS.enabled",
"command": "near.publishWidget",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "near.openWidgetsFromAccount"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
"esbuild-base": "rimraf out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"build": "npm run -S esbuild-base -- --sourcemap",
"build:webview": "cd webview/app && npm run build",
"watch": "tsc -watch -p ./",
"fmt": "prettier --write \"src/**/*.ts\"&& npm run test -- --fix",
"test": "eslint src --ext ts && tsc --noEmit"
},
"devDependencies": {
"@types/bn.js": "^5.1.1",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/react-dom": "^18.0.11",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"esbuild": "^0.17.10",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.3",
"rewire": "^6.0.0",
"react-scripts": "^5.0.1"
},
"dependencies": {
"@types/lodash": "^4.14.191",
"lodash": "^4.17.21",
"near-api-js": "^1.1.0",
"react": "^18.2.0"
}
}