-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 5.09 KB
/
package.json
File metadata and controls
179 lines (179 loc) · 5.09 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
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
{
"version": "0.0.35",
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "dist/extension/index.js",
"icon": "assets/icon.png",
"contributes": {
"commands": [
{
"command": "zast.login",
"title": "Login",
"icon": "$(account)"
},
{
"command": "zast.logout",
"title": "Logout",
"icon": "$(sign-out)"
},
{
"command": "zast.runSbomFullScan",
"title": "Run Scan (Force Refresh)",
"icon": "$(play)"
},
{
"command": "zast.showStartPage",
"title": "ZAST Express: Getting Started Guide",
"icon": "$(getting-started)"
}
],
"menus": {
"view/title": [
{
"command": "zast.login",
"when": "view == home && !zast.isAuthenticated",
"group": "navigation",
"icon": "$(account)"
},
{
"command": "zast.logout",
"when": "view == home && zast.isAuthenticated",
"group": "navigation",
"icon": "$(sign-out)"
},
{
"command": "zast.runSbomFullScan",
"when": "view == sbom && zast.isAuthenticated",
"group": "navigation@3",
"icon": "$(refresh)"
}
]
},
"configuration": {
"title": "Zast Express",
"properties": {
"project.isSelfHosted": {
"type": "boolean",
"default": false,
"description": "Whether this is a self-hosted deployment (uses Zast Express auth when true, Clerk auth when false)"
}
}
},
"uriSchemes": [
{
"scheme": "cursor://zast-ai.zast-extension",
"title": "Zast Express OAuth Callback"
},
{
"scheme": "vscode://zast-ai.zast-extension",
"title": "Zast Express OAuth & Payment Callback"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "assess-explorer",
"title": "Zast Express",
"icon": "assets/zast-icon.svg"
}
]
},
"views": {
"assess-explorer": [
{
"id": "home",
"name": "Home",
"type": "webview",
"when": "true"
},
{
"id": "sbom",
"name": "SBOM Security",
"type": "webview",
"when": "true"
},
{
"id": "project-tasks",
"name": "Workspace Tasks",
"type": "webview",
"when": "true"
},
{
"id": "tasks",
"name": "Recent Tasks",
"type": "webview",
"when": "true"
},
{
"id": "help",
"name": "Help & Feedback",
"type": "webview",
"when": "true"
}
]
}
},
"scripts": {
"compile": "vite build",
"watch": "vite build --watch",
"lint": "eslint extension --ext ts",
"prepare:files:dev": "cross-env TARGET_REGION=region_dev node ./scripts/prepare-files.js",
"prepare:files:cn": "cross-env TARGET_REGION=region_cn node ./scripts/prepare-files.js",
"prepare:files:global": "cross-env TARGET_REGION=region_global node ./scripts/prepare-files.js",
"build:dev": "npm run prepare:files:dev && cross-env TARGET_REGION=region_dev vite build",
"build:cn": "npm run prepare:files:cn && cross-env TARGET_REGION=region_cn vite build",
"build:global": "npm run prepare:files:global && cross-env TARGET_REGION=region_global vite build",
"package:cn": "cross-env TARGET_REGION=region_cn npm run build:cn && vsce package",
"package:dev": "cross-env TARGET_REGION=region_dev npm run build:dev && vsce package",
"package:global": "cross-env TARGET_REGION=region_global npm run build:global && vsce package",
"publish:cn": "npm run package:cn && vsce publish",
"publish:global": "npm run package:global && vsce publish",
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview"
},
"dependencies": {
"@tomjs/vscode-webview": "^2.0.2",
"@types/marked": "^5.0.2",
"@types/xml2js": "^0.4.14",
"@vscode/webview-ui-toolkit": "^1.4.0",
"archiver": "^7.0.1",
"form-data": "^4.0.0",
"ignore": "^7.0.5",
"jszip": "^3.10.1",
"marked": "^16.2.0",
"node-fetch": "^3.3.2",
"vue": "^3.5.17",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@tomjs/tsconfig": "^2.0.0",
"@tomjs/vite-plugin-vscode": "^4.2.1",
"@types/archiver": "^6.0.2",
"@types/node": "^20.10.0",
"@types/node-fetch": "^2.6.4",
"@types/vscode": "^1.85.0",
"@types/vscode-webview": "^1.57.5",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vitejs/plugin-vue": "^6.0.0",
"@vscode/vsce": "^2.15.0",
"cross-env": "^7.0.3",
"esbuild": "^0.19.0",
"eslint": "^8.54.0",
"fs-extra": "^11.0.0",
"typescript": "^5.3.2",
"vue-tsc": "^3.0.1"
},
"name": "zast-extension",
"displayName": "Zast Express",
"description": "VSCode extension for Zast.ai security vulnerability assessment",
"publisher": "zast-ai",
"categories": [
"Security"
]
}