-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.38 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
{
"name": "style50",
"displayName": "Style50",
"description": "A tool with which code can be checked against the CS50 style guide.",
"icon": "images/style50.png",
"version": "0.0.1",
"publisher": "CS50",
"repository": "https://github.com/cs50/style50.vsix",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Education",
"Programming Languages"
],
"contributes": {
"commands": [
{
"command": "style50.run",
"title": "style50"
},
{
"command": "style50.apply",
"title": "Apply Changes"
},
{
"command": "style50.explain",
"title": "Explain Changes"
}
],
"menus": {
"editor/title": [
{
"command": "style50.run",
"group": "navigation@-50",
"when": "(resourceExtname =~ /\\.(py|c|cpp|h|hpp|java|html|css|js)$/) && !isInDiffEditor"
},
{
"command": "style50.apply",
"group": "navigation@-51",
"when": "(resourceExtname =~ /\\.(py|c|cpp|h|hpp|java|html|css|js)$/) && isInDiffEditor && (resourceFilename in style50.currentDiff)"
},
{
"command": "style50.explain",
"group": "navigation@-52",
"when": "(resourceExtname =~ /\\.(py|c|cpp|h|hpp|java|html|css|js)$/) && isInDiffEditor && (resourceFilename in style50.currentDiff)"
}
]
}
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"eslint": "^9.17.0",
"typescript": "^5.7.2"
},
"dependencies": {
"@vscode/vsce": "^3.2.1",
"js-beautify": "^1.15.1",
"mixpanel": "^0.18.0",
"sql-formatter": "^15.4.6",
"uuid": "^11.0.3"
}
}