-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
164 lines (164 loc) · 5.6 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
{
"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",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"capabilities": {
"hoverProvider": "true"
},
"activationEvents": [
"workspaceContains:package.json"
],
"main": "./dist/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/debricked/VS-Code-extension"
},
"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.files",
"title": "Analyze files",
"category": "debricked",
"icon": "$(files)"
},
{
"command": "debricked.files.find",
"title": "Find all dependency files in inputted path",
"category": "debricked",
"icon": "$(search)"
}
],
"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": "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": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"lint:fix": "eslint --fix src --ext ts",
"test": "set NODE_ENV=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"
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@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.16.0",
"@typescript-eslint/parser": "^7.16.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.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"mocha": "^10.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"sinon": "^18.0.0",
"typescript": "^5.4.5"
},
"dependencies": {
"@sentry/node": "^8.27.0",
"mock-fs": "^5.2.0",
"proxyquire": "^2.1.3"
}
}