forked from crc-org/crc-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.05 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"publisher": "redhat",
"name": "openshift-local",
"displayName": "Red Hat OpenShift Local",
"description": "Integration for Red Hat OpenShift Local clusters",
"version": "1.3.0",
"icon": "icon.png",
"license": "Apache-2.0",
"engines": {
"podman-desktop": "^0.16.0"
},
"main": "./dist/extension.js",
"source": "./src/extension.ts",
"contributes": {
"configuration": {
"title": "Red Hat OpenShift Local",
"properties": {
"OpenShift-Local.memory": {
"type": "number",
"format": "memory",
"description": "Memory size, in MiB"
},
"OpenShift-Local.cpus": {
"type": "number",
"format": "cpu",
"description": "Number of CPU cores"
},
"OpenShift-Local.preset": {
"type": "string",
"enum": [
"openshift",
"microshift"
],
"default": "openshift",
"description": "OpenShift Local Virtual machine preset"
},
"OpenShift-Local.disksize": {
"type": "number",
"format": "memory",
"default": 31,
"minimum": 20,
"description": "Disk size, in GiB"
},
"OpenShift-Local.pullsecretfile": {
"type": "string",
"format": "file",
"markdownDescription": "Path of image pull secret (download from the [Red Hat OpenShift Local download page](https://console.redhat.com/openshift/create/local?sc_cid=7013a000003SUmqAAG))"
}
}
},
"menus": {
"dashboard/image": [
{
"command": "crc.image.push.to.cluster",
"title": "Push image to OpenShift Local cluster"
}
]
}
},
"scripts": {
"build": "rollup --bundleConfigAsCjs --config rollup.config.js --compact --environment BUILD:production",
"watch": "rollup --bundleConfigAsCjs --config rollup.config.js -w",
"lint:check": "eslint . --ext js,ts",
"lint:fix": "eslint . --fix --ext js,ts",
"format:check": "prettier --check src/**",
"format:fix": "prettier --write src/**",
"desk:build": "ts-node-esm ./scripts/run.mts build",
"desk:prepare": "ts-node-esm ./scripts/run.mts prepare",
"desk:run": "ts-node-esm ./scripts/run.mts run",
"test": "vitest run --coverage --passWithNoTests"
},
"dependencies": {},
"devDependencies": {
"@podman-desktop/api": "next",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@vitest/coverage-v8": "^1.6.0",
"7zip-min": "^1.4.4",
"compare-versions": "^6.0.0-rc.1",
"eslint": "^8.36.0",
"got": "^12.5.3",
"hasha": "^5.2.2",
"mkdirp": "^2.1.3",
"prettier": "^2.8.4",
"rollup": "^3.18.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"vitest": "^1.6.0",
"which": "^3.0.0",
"zip-local": "^0.3.5"
}
}