generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
97 lines (97 loc) · 3.4 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
{
"name": "redhat-sandbox",
"displayName": "Red Hat OpenShift Sandbox",
"description": "Sign up and provisioning for OpenShift Sandbox",
"version": "0.0.5",
"icon": "icon.png",
"publisher": "redhat",
"license": "Apache-2.0",
"type": "module",
"engines": {
"podman-desktop": "^1.10.0"
},
"main": "./dist/extension.cjs",
"contributes": {
"configuration": {
"title": "OpenShift Developer Sandbox",
"properties": {
"redhat.sandbox.form.description": {
"type": "markdown",
"scope": "KubernetesProviderConnectionFactory",
"markdownDescription": "You will need to log into your Developer Sandbox in an external browser:\n\n:button[Log into Developer Sandbox]{command=sandbox.open.login.url href=\"https://developers.redhat.com/developer-sandbox/?sc_cid=7013a000003SUmgAAG\"}\n\nFrom your Developer Sandbox Console, click on your login name in the upper right corner and select 'Copy login command' from the menu. Copy full login command from browser page and paste it in the 'Login command' field below."
},
"redhat.sandbox.context.name": {
"type": "string",
"default": "dev-sandbox-context",
"scope": "KubernetesProviderConnectionFactory",
"description": "Context name for Developer Sandbox to easily find it in your Kubernetes contexts",
"placeholder": "my-dev-sandbox"
},
"redhat.sandbox.context.default": {
"type": "boolean",
"default": false,
"scope": "KubernetesProviderConnectionFactory",
"description": "Set as current context"
},
"redhat.sandbox.login.command": {
"type": "string",
"default": "",
"scope": "KubernetesProviderConnectionFactory",
"description": "Login command from Developer Console",
"placeholder": "oc login --token=<token> --server=<url>"
}
}
},
"commands": [
{
"command": "sandbox.open.login.url",
"title": "Log into Developer Sandbox"
}
],
"menus": {
"dashboard/image": [
{
"command": "sandbox.image.push.to.cluster",
"title": "Push image to Developer Sandbox cluster"
}
]
}
},
"scripts": {
"build": "vite build && node ./scripts/build.cjs",
"watch": "vite build -w",
"format:check": "prettier --check \"**/*.ts\" \"scripts/*.cjs\"",
"format:fix": "prettier --write \"**/*.ts\" \"scripts/*.cjs\"",
"test": "vitest run --coverage",
"test:e2e:setup": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' --",
"test:e2e": "npm run test:e2e:setup npx playwright test tests/src"
},
"dependencies": {
"@kubernetes/client-node": "^0.22.3",
"@podman-desktop/api": "^1.14.1",
"fs-extra": "^11.2.0",
"got": "^14.4.5"
},
"devDependencies": {
"@playwright/test": "1.49.0",
"@podman-desktop/tests-playwright": "next",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.17.9",
"@vitest/coverage-v8": "^2.0.5",
"7zip-min": "^1.4.5",
"byline": "^5.0.0",
"copyfiles": "^2.4.1",
"cross-env": "7.0.3",
"electron": "^33.2.1",
"jsdom": "^25.0.1",
"mkdirp": "^3.0.1",
"prettier": "^3.4.1",
"typescript": "^5.7.2",
"vite": "^6.0.1",
"vitest": "^2.0.5",
"vscode-uri": "^3.0.8",
"xvfb-maybe": "^0.2.1",
"zip-local": "^0.3.5",
"js-yaml": "^4.1.0"
}
}