-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
37 lines (37 loc) · 2.27 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
{
"name": "code-editor",
"version": "v1.0.2",
"description": "code-server deployed on kubernetes clusters, supporting multi-user and external authentication",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"cluster:create": "k3d cluster create code-editor -p '80:80@loadbalancer' -p '443:443@loadbalancer'",
"cluster:delete": "k3d cluster delete code-editor",
"code-editor:install": "npm run assets:generate && helm install code-editor helm-charts/code-editor -n code-editor --create-namespace",
"code-editor:uninstall": "helm uninstall code-editor -n code-editor && kubectl delete all --all -n code-editor --force && kubectl delete secret --all -n code-editor",
"code-editor:install:dry-run": "npm run assets:generate && helm install code-editor helm-charts/code-editor -n code-editor --create-namespace --dry-run > out.yaml",
"assets:generate": "npm run templates:generate && npm run cert:generate",
"cert:generate": "sh scripts/generate-certificates.sh",
"templates:generate": "sh scripts/generate-templates.sh",
"dev:code-editor:install": "npm run dev:assets:generate && helm install code-editor helm-charts/code-editor --set dev=true -n code-editor --create-namespace",
"dev:code-editor:install:dry-run": "npm run dev:assets:generate && helm install code-editor helm-charts/code-editor --set dev=true -n code-editor --create-namespace --dry-run > out.yaml",
"dev:assets:generate": "npm run dev:templates:generate && npm run cert:generate",
"dev:templates:generate": "sh scripts/generate-templates.sh 1",
"traefik:install": "kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/torchiaf/code-editor.git"
},
"author": "Francesco Torchia",
"license": "ISC",
"bugs": {
"url": "https://github.com/torchiaf/code-editor/issues"
},
"homepage": "https://github.com/torchiaf/code-editor#readme",
"devDependencies": {
"ts-node": "^10.9.1",
"typescript": "^5.3.2",
"yq": "^0.0.1"
}
}