-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
70 lines (69 loc) · 1.79 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
{
"name": "chatgpt-security-code-analyzer",
"displayName": "ChatGPT Security Code Analyzer",
"description": "Use ChatGPT to find vulnerabilities in your code.",
"version": "0.0.2",
"publisher": "MilindPurswani",
"icon": "images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/MilindPurswani/chatgpt-code-analyzer.git"
},
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.analyzeSecurity",
"onCommand:extension.analyzeWorkspace"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "extension.analyzeSecurity",
"title": "Analyze File for Security Vulnerabilities"
},
{
"command": "extension.analyzeWorkspace",
"title": "Analyze Workspace for Security Vulnerabilities"
}
],
"configuration": {
"title": "ChatGPT Code Analyzer",
"properties": {
"chatgpt-code-analyzer.apiKey": {
"type": "string",
"default": "",
"description": "Your ChatGPT API key",
"scope": "application"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"pretest": "npm run lint",
"lint": "eslint src --ext js",
"test": "node ./test/runTest.js",
"compile": "mkdir -p out && cp -R src/* out/"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^14.17.14",
"@types/vscode": "^1.62.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"mocha": "^9.1.3",
"typescript": "^4.4.4",
"vscode-test": "^1.6.0"
},
"dependencies": {
"axios": "^0.26.1",
"openai": "^3.2.1"
}
}