-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.14 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
{
"name": "solidity-audit-helper",
"displayName": "Solidity Audit Helper",
"description": "Automatically updates sol files imports on file movement. Checks for potential vulnerabilities (unchecked returns, balance checks, calls). Generates sLoc html (interactive), checks foundry config for security issues. Automatically fills a newly created sol file with a template",
"version": "0.9.41",
"author": "C0D30",
"publisher": "C0D30",
"repository": "https://github.com/C0D3O/sol-audit-helper",
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"command": "sol-audit-helpers",
"title": "Run Solidity Audit Helper"
},
{
"command": "sol-audit-convert",
"title": "Run Solidity Audit HH-Foundry Converter"
}
],
"configuration": {
"title": "Solidity Audit Helper",
"properties": {
"sol-audit-helper.slocReportFile": {
"type": "boolean",
"default": true,
"scope": "application",
"description": "Should a sLoc html (interactive) be generated"
},
"sol-audit-helper.parseFilesForPotentialVulnerabilities": {
"type": "boolean",
"default": true,
"scope": "application",
"description": "Creates audit comments (for now only for calls, unchecked returns, balance checks"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"esbuild": "^0.19.8",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"node-sloc": "^0.2.1",
"typescript": "^5.2.2"
}
}