-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 5.39 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
{
"name": "k8s-dungeon-crawl",
"version": "0.1.0",
"main": "app.js",
"scripts": {
"cluster:create": "node ./scripts/cluster-action.js create ",
"cluster:delete": "node ./scripts/cluster-action.js delete ",
"cluster:stop": "node ./scripts/cluster-action.js stop ",
"cluster:start": "node ./scripts/cluster-action.js start ",
"cluster:reset": "node ./scripts/cluster-action.js delete && node ./scripts/cluster-action.js create ",
"images": "npm run images:build && npm run images:import ",
"images:build": "npm run images:game && npm run images:portal && npm run images:controller && npm run images:custom404 ",
"images:game": "node ./scripts/image-action.js game build ",
"images:portal": "node ./scripts/image-action.js portal build ",
"images:controller": "node ./scripts/image-action.js controller build ",
"images:custom404": "node ./scripts/image-action.js custom404 build ",
"images:import": "npm run import:game && npm run import:portal && npm run import:controller && npm run import:custom404 ",
"import:game": "node ./scripts/image-action.js game import ",
"import:portal": "node ./scripts/image-action.js portal import ",
"import:controller": "node ./scripts/image-action.js controller import ",
"import:custom404": "node ./scripts/image-action.js custom404 import ",
"deploy": "deploy:game && deploy:portal && deploy:dungeon-master && deploy:grafana && deploy:prometheus ",
"deploy:game": "./scripts/deploy-k8s-resources.sh game ",
"deploy:portal": "./scripts/deploy-k8s-resources.sh portal ",
"deploy:controller": "./scripts/deploy-k8s-resources.sh controller ",
"deploy:custom404": "./scripts/deploy-k8s-resources.sh custom404 ",
"deploy:traefik": "./scripts/deploy-k8s-resources.sh traefik ",
"deploy:grafana": "./scripts/deploy-k8s-resources.sh grafana ",
"deploy:prometheus": "./scripts/deploy-k8s-resources.sh prometheus ",
"port-forward": "port-forward:game && port-forward:portal && port-forward:grafana && port-forward-prometheus && port-forward:controller ",
"port-forward:game": "./scripts/port-forward-game.sh ",
"port-forward:portal": "./scripts/port-forward-portal.sh ",
"port-forward:grafana": "./scripts/port-forward-grafana.sh ",
"port-forward-prometheus": "./scripts/port-forward-prometheus.sh ",
"port-forward:controller": "./scripts/port-forward-controller.sh ",
"namespaces:create": "npm run namespaces:game create && npm run namespaces:portal create && npm run namespaces:controller create && npm run namespaces:grafana create && npm run namespaces:prometheus create && npm run namespaces:monsters create && npm run namespaces:monsties create ",
"namespaces:delete": "npm run namespaces:game delete && npm run namespaces:portal delete && npm run namespaces:controller delete && npm run namespaces:grafana delete && npm run namespaces:prometheus delete && npm run namespaces:monsters delete && npm run namespaces:monsties delete ",
"namespaces:reset": "npm run namespaces:game reset && npm run namespaces:portal reset && npm run namespaces:controller reset && npm run namespaces:grafana reset && npm run namespaces:prometheus reset && npm run namespaces:monsters reset && npm run namespaces:monsties reset ",
"namespaces:game": "node --disable-warning=DEP0040 ./scripts/namespace-action.js game ",
"namespaces:portal": "node --disable-warning=DEP0040 ./scripts/namespace-action.js portal ",
"namespaces:controller": "node --disable-warning=DEP0040 ./scripts/namespace-action.js dungeon-master-system ",
"namespaces:grafana": "node --disable-warning=DEP0040 ./scripts/namespace-action.js grafana ",
"namespaces:prometheus": "node --disable-warning=DEP0040 ./scripts/namespace-action.js prometheus ",
"namespaces:monsters": "node --disable-warning=DEP0040 ./scripts/namespace-action.js monsters ",
"namespaces:monsties": "node --disable-warning=DEP0040 ./scripts/namespace-action.js monsties ",
"start": "npm run cluster:reset && npm run images && npm run deploy:game && npm run deploy:portal && npm run deploy:grafana && npm run deploy:prometheus && npm run deploy:controller && npm run deploy:traefik && npm run deploy:custom404 && node ./scripts/log.js info 'The Dungeon of Doom is ready for adventuring!'",
"test": "npm run test:game && npm run test:controller && npm run test:portal ",
"test:game": "cd game && make test ",
"test:controller": "cd controller && go test ",
"test:portal": "cd portal && pytest ",
"prepare": "husky install ",
"pre-commit": "lint-staged ",
"load-env": "node ./scripts/load-env.js --print "
},
"dependencies": {
"@kubernetes/client-node": "^1.0.0",
"express": "^4.21.2",
"pino": "^9.5.0",
"pino-pretty": "^13.0.0"
},
"devDependencies": {
"dotenv": "^16.4.5",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.10"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/schaeferka/k8s-dungeon-crawl.git"
},
"keywords": [
"web",
"node",
"express"
],
"author": "Kim Schaefer",
"bugs": {
"url": "https://github.com/schaeferka/k8s-dungeon-crawl/issues"
},
"homepage": "https://github.com/schaeferka/k8s-dungeon-crawl#readme",
"engines": {
"node": ">=22.0.0"
},
"config": {
"port": "3000"
},
"files": [
"game/bin",
"dungeon-master/cmd/main.go",
"portal/run.py"
]
}