-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
189 lines (189 loc) · 6.67 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
{
"name": "vs-code-extension",
"displayName": "debricked",
"description": "A fast and flexible software composition analysis VS Code Extension and CLI tool, given to you by Debricked.",
"publisher": "debricked",
"version": "0.0.0-dev",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"capabilities": {
"hoverProvider": "true"
},
"activationEvents": [
"workspaceContains:**/package.json"
],
"main": "./dist/extension.js",
"homepage": "https://github.com/debricked/VS-Code-extension",
"repository": {
"type": "git",
"url": "https://github.com/debricked/VS-Code-extension"
},
"bugs": {
"url": "https://github.com/debricked/VS-Code-extension/issues"
},
"galleryBanner": {
"color": "#0D1840",
"theme": "dark"
},
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "debricked",
"title": "Debricked",
"icon": "resources/assets/debricked-icon.svg"
}
]
},
"views": {
"debricked": [
{
"id": "debrickedCommands",
"name": "Debricked"
}
]
},
"commands": [
{
"command": "debricked.debricked",
"title": "Debricked : A fast and flexible software composition analysis CLI tool, given to you by Debricked.",
"category": "debricked",
"icon": "$(gear)"
},
{
"command": "debricked.debricked.install",
"title": "Install Debricked-cli",
"category": "debricked",
"icon": "$(cloud-download)"
},
{
"command": "debricked.debricked.token",
"title": "Add/Update Debricked tokens",
"category": "debricked",
"icon": "$(lock)"
},
{
"command": "debricked.debricked.help",
"title": "Help about any command",
"category": "debricked",
"icon": "$(lightbulb)"
},
{
"command": "debricked.debricked.log",
"title": "Debricked logs",
"category": "debricked",
"icon": "$(file-text)"
},
{
"command": "debricked.debricked.sentry",
"title": "Debricked sentry logs",
"category": "debricked",
"icon": "$(file-text)"
},
{
"command": "debricked.debricked.login",
"title": "Debricked login",
"category": "debricked",
"icon": "$(lock)"
},
{
"command": "debricked.scan",
"title": "Start a Debricked dependency scan",
"category": "debricked",
"icon": "$(debug-start)"
},
{
"command": "debricked.auth.login",
"title": "Authenticate debricked user",
"category": "debricked",
"icon": "$(account)"
},
{
"command": "debricked.auth.logout",
"title": "Logout debricked user",
"category": "debricked",
"icon": "$(account)"
},
{
"command": "debricked.auth.token",
"title": "Retrieve access token",
"category": "debricked",
"icon": "$(account)"
},
{
"command": "debricked.debricked.reset",
"title": "Reset Debricked",
"category": "debricked",
"icon": "$(trash)"
}
],
"menus": {
"editor/title": [
{
"command": "debricked.scan",
"group": "navigation",
"when": "debrickedFilesToScan"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "set NODE_ENV=development && set LATEST_TAG=0.0.0-dev&& node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "npm run clean && tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "set NODE_ENV=test && set LATEST_TAG=0.0.0-dev&& npm run compile-tests && npm run compile",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"lint:fix": "eslint --fix src --ext ts",
"test": "vscode-test --coverage",
"clean": "rimraf out && rimraf dist && rimraf coverage && rimraf .debricked",
"clean-all": "rimraf out && rimraf dist && rimraf coverage && rimraf .vscode-test",
"vsce": "vsce package",
"madge": "npm run compile-tests && rimraf out\\test && madge --include-npm --image graph.svg out",
"sentry:sourcemaps": "sentry-cli --url https://sentry.debricked.com/ sourcemaps upload --org debricked --project visual-studio-code-extensions out --release vs-code-extension@0.0.0-dev"
},
"devDependencies": {
"@sentry/cli": "^2.36.1",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@types/eslint-plugin-security": "^3.0.0",
"@types/mocha": "^10.0.6",
"@types/mock-fs": "^4.13.4",
"@types/node": "20.x",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.3",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"axios": "^1.7.4",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"esbuild": "^0.21.5",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-security": "^3.0.1",
"mocha": "^10.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"sinon": "^18.0.0",
"typescript": "^5.4.5"
},
"dependencies": {
"@sentry/esbuild-plugin": "^2.22.4",
"@sentry/node": "^8.27.0",
"mock-fs": "^5.2.0",
"proxyquire": "^2.1.3"
}
}