podman-desktop/extensions/podman/package.json
Florent BENOIT b4e98ef7ff
fix: use same default name than using the CLI (#775)
fixes https://github.com/containers/podman-desktop/issues/762

Change-Id: I552db1b689a81e58471808578cfd20434fa128b4
Signed-off-by: Florent Benoit <fbenoit@redhat.com>

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-11-04 08:21:43 -04:00

94 lines
2.8 KiB
JSON

{
"name": "podman",
"displayName": "Manage podman containers and podman machines",
"description": "Manage podman containers and podman machines",
"version": "0.0.1",
"icon": "icon.png",
"publisher": "benoitf",
"license": "Apache-2.0",
"engines": {
"podman-desktop": "^0.0.1"
},
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "podman.info",
"title": "podman: Specific info about podman"
}
],
"configuration": {
"title": "Podman Machine",
"properties": {
"podman.machine.cpus": {
"type": "number",
"format": "cpu",
"minimum": 1,
"default": 1,
"scope": "ContainerConnection",
"description": "CPUs of the machine"
},
"podman.machine.memory": {
"type": "number",
"format": "memory",
"minimum": 1024,
"default": 2048,
"scope": "ContainerConnection",
"description": "Memory of the machine"
},
"podman.machine.diskSize": {
"type": "number",
"format": "diskSize",
"default": 100,
"scope": "ContainerConnection",
"description": "Disk Size in GB of the machine"
},
"podman.factory.machine.name": {
"type": "string",
"default": "podman-machine-default",
"scope": "ContainerProviderConnectionFactory",
"description": "Name of the machine"
},
"podman.factory.machine.cpus": {
"type": "number",
"format": "cpu",
"default": 1,
"scope": "ContainerProviderConnectionFactory",
"description": "CPUs of the machine"
},
"podman.factory.machine.memory": {
"type": "number",
"format": "memory",
"minimum": 1024,
"default": 2048,
"scope": "ContainerProviderConnectionFactory",
"description": "Memory of the machine"
},
"podman.factory.machine.diskSize": {
"type": "number",
"format": "diskSize",
"default": 100,
"scope": "ContainerProviderConnectionFactory",
"description": "Disk Size in GB of the machine"
}
}
}
},
"scripts": {
"build": "rollup --config rollup.config.js --compact --environment BUILD:production && npx ts-node ./scripts/download.ts && node ./scripts/build.js",
"watch": "rollup --config rollup.config.js -w"
},
"dependencies": {
"@ltd/j-toml": "^1.30.0",
"@tmpwip/extension-api": "^0.0.1",
"compare-versions": "^4.1.3"
},
"devDependencies": {
"7zip-min": "^1.4.3",
"hasha": "^5.2.2",
"mkdirp": "^1.0.4",
"octokit": "^1.7.1",
"ts-node": "^10.9.1",
"zip-local": "^0.3.5"
}
}