-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
158 lines (158 loc) · 4.42 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
{
"name": "sui-extension",
"displayName": "Sui Extension",
"description": "Supports the compilation, deployment, and testing of Sui smart contracts, boosting development productivity in GitHub Codespaces. Enables unified management of frontend and backend development within a single repository.",
"version": "0.1.11",
"license": "MIT",
"engines": {
"vscode": "^1.95.0"
},
"publisher": "zktxio",
"homepage": "https://docs.zktx.io/vsce/sui/",
"repository": {
"type": "git",
"url": "https://github.com/zktx-io/sui-extension"
},
"categories": [
"Education",
"Programming Languages",
"Other"
],
"icon": "media/icon.png",
"galleryBanner": {
"color": "#011829",
"theme": "dark"
},
"activationEvents": [
"onLanguage:move"
],
"main": "./out/node/extension.js",
"browser": "./out/web/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "extensionSidebarSui",
"title": "Sui Extension",
"icon": "media/icon-side.svg"
}
]
},
"views": {
"extensionSidebarSui": [
{
"id": "activitybarProviderSui",
"type": "webview",
"name": "Sui Extension"
}
]
},
"customEditors": [
{
"viewType": "sui-extension.ptb-builder",
"displayName": "PTB Builder",
"selector": [
{
"filenamePattern": "*.ptb"
}
]
}
],
"commands": [
{
"command": "sui-extension.openDocs",
"title": "docs",
"icon": {
"dark": "media/docs-dark.svg",
"light": "media/docs-light.svg"
}
},
{
"command": "sui-extension.ptbBuilder.new",
"title": "New PTB Builder (beta)"
},
{
"command": "sui-extension.ptbBuilder.open",
"title": "Open PTB Builder"
}
],
"menus": {
"view/title": [
{
"command": "sui-extension.openDocs",
"when": "view == activitybarProviderSui",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "sui-extension.ptbBuilder.new",
"group": "sui-extension"
}
]
},
"languages": [
{
"id": "move",
"extensions": [
".move"
],
"aliases": [
"Move"
]
},
{
"id": "ptb",
"extensions": [
".ptb"
],
"aliases": [
"PTB Builder File"
]
}
],
"iconThemes": [
{
"id": "sui-extension-icon-theme",
"label": "Sui Extension Icon Theme",
"path": "./icons.json"
}
]
},
"scripts": {
"open-in-browser": "npm run build:all && vscode-test-web --extensionDevelopmentPath=. .",
"install:activitybar": "cd src/webview/activitybar && npm install",
"install:panel": "cd src/webview/panel && npm install",
"install:ptb-builder": "cd src/webview/ptb-builder && npm install",
"install:all": "npm install && npm run install:activitybar && npm run install:panel && npm run install:ptb-builder",
"build:activitybar": "cd src/webview/activitybar && npm run build",
"build:panel": "cd src/webview/panel && npm run build",
"build:ptb-builder": "cd src/webview/ptb-builder && npm run build",
"build:webview": "npm run build:activitybar && npm run build:panel && npm run build:ptb-builder",
"build:node": "tsc -p ./tsconfig.node.json && vite build --mode node",
"build:web": "tsc -p ./tsconfig.web.json && vite build --mode web",
"build:all": "npm run build:webview && npm run build:node && npm run build:web",
"vscode:prepublish": "npm run build:all",
"watch": "vite build --watch",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"format": "prettier --write --ignore-path .gitignore .",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-web": "^0.0.64",
"eslint": "^8.57.0",
"prettier": "^3.4.2",
"rollup-plugin-copy": "^3.5.0",
"typescript": "^5.7.2",
"vite": "^6.0.6"
}
}