-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.4 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.4 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
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
{
"name": "vscode-pycontainer",
"displayName": "pycontainer-build",
"description": "Build OCI container images from Python projects without Docker",
"version": "0.1.0",
"publisher": "pycontainer",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"python",
"container",
"docker",
"oci",
"build"
],
"activationEvents": [
"onLanguage:python",
"workspaceContains:**/pyproject.toml",
"workspaceContains:**/requirements.txt"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "pycontainer.build",
"title": "Build Container Image",
"category": "pycontainer"
},
{
"command": "pycontainer.buildAndPush",
"title": "Build and Push Container Image",
"category": "pycontainer"
},
{
"command": "pycontainer.configure",
"title": "Configure Container Build",
"category": "pycontainer"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceFilename == pyproject.toml",
"command": "pycontainer.build",
"group": "pycontainer@1"
}
],
"commandPalette": [
{
"command": "pycontainer.build",
"when": "workspaceContains:**/pyproject.toml"
},
{
"command": "pycontainer.buildAndPush",
"when": "workspaceContains:**/pyproject.toml"
}
]
},
"configuration": {
"title": "pycontainer-build",
"properties": {
"pycontainer.pythonPath": {
"type": "string",
"default": "python",
"description": "Path to Python executable"
},
"pycontainer.defaultTag": {
"type": "string",
"default": "myapp:latest",
"description": "Default container image tag"
},
"pycontainer.defaultBaseImage": {
"type": "string",
"default": "python:3.11-slim",
"description": "Default base container image"
},
"pycontainer.autoInstall": {
"type": "boolean",
"default": true,
"description": "Automatically install pycontainer-build if not found"
},
"pycontainer.showOutput": {
"type": "boolean",
"default": true,
"description": "Show build output in terminal"
},
"pycontainer.verbose": {
"type": "boolean",
"default": false,
"description": "Enable verbose build output"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"lint": "eslint src --ext ts",
"package": "vsce package"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"typescript": "^5.0.0",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.19.0"
},
"repository": {
"type": "git",
"url": "https://github.com/spboyer/pycontainer-build"
},
"bugs": {
"url": "https://github.com/spboyer/pycontainer-build/issues"
},
"homepage": "https://github.com/spboyer/pycontainer-build#readme",
"license": "MIT"
}