-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.08 KB
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
{
"name": "python-main-runner",
"displayName": "Python Main Runner",
"description": "Run any Python file containing if __name__ == \"__main__\" from a convenient launcher.",
"version": "1.1.0",
"publisher": "Kirby",
"license": "MIT",
"icon": "python-logo-256x256.png",
"engines": {
"vscode": "^1.125.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Ominus-tch/python-main-runner.git"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"extensionDependencies": [
"ms-python.python"
],
"contributes": {
"commands": [
{
"command": "python-main-runner.run",
"title": "Run Python Main",
"icon": "$(play)"
},
{
"command": "python-main-runner.selectEntry",
"title": "Select Python Main",
"icon": "$(list-selection)"
}
],
"menus": {
"editor/title": [
{
"command": "python-main-runner.run",
"when": "pythonMainRunner.hasMains",
"group": "navigation"
},
{
"command": "python-main-runner.selectEntry",
"when": "pythonMainRunner.hasMultipleMains",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "python-main-runner.run",
"when": "pythonMainRunner.hasMains"
},
{
"command": "python-main-runner.selectEntry",
"when": "pythonMainRunner.hasMultipleMains"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.125.0",
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"typescript-eslint": "^8.61.1",
"typescript": "^6.0.3",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0"
},
"overrides": {
"diff": "^8.0.4",
"serialize-javascript": "^7.0.6"
}
}