generated from curium-rocks/k8s-validating-webhook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 3.06 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
{
"name": "k8s-mutating-webhook",
"version": "0.1.0",
"description": "A starter template for creating TypeScript, Node.JS apps that interface with kubernetes",
"main": "dist/app.js",
"scripts": {
"start": "node dist/app.js",
"minikube:start": "minikube start --memory=4192m --disk-size=8g --cpus=2 --addons=[ingress,storage-provisioner,default-storageclass,metrics-server]",
"minikube:stop": "minikube stop",
"minikube:delete": "minikube delete",
"k8s:createPullSecret": "kubectl --namespace $npm_config_helm_namespace create secret docker-registry ghcr-credentials --docker-server=ghcr.io --docker-username=$npm_config_registry_username --docker-password=$npm_config_registry_password",
"helm:addRepos": "helm repo add jetstack https://charts.jetstack.io && helm repo update",
"helm:deployCertManager": "helm upgrade --install --namespace cert-manager --create-namespace cert-manager jetstack/cert-manager --set installCRDs=true --debug --wait",
"helm:template": "helm template k8s-mutating-webhook ./helm/k8s-mutating-webhook/",
"helm:deploy": "helm upgrade --install k8s-mutating-webhook ./helm/k8s-mutating-webhook/ --debug --wait",
"helm:uninstall": "helm del k8s-mutating-webhook",
"helm:uninstallCertManager": "helm del --namespace cert-manager cert-manager",
"build": "node_modules/typescript/bin/tsc --project ./ && mkdir -p dist/config && cp src/config/*.json dist/config/",
"build:image": "docker build . -t ghcr.io/curium-rocks/k8s-mutating-webhook:local",
"test": "NODE_CONFIG_DIR=$PWD/src/config/:$PWD/test/config/ jest --coverage --testPathPattern='test/.*\\.spec\\.ts' --testPathIgnorePatterns='test/.*\\.e2e\\.spec\\.ts'",
"test:e2e": "NODE_CONFIG_DIR=$PWD/src/config/:$PWD/test/config/ jest --testPathPattern='test/.*\\.e2e\\.spec\\.ts'",
"lint": "eslint --ext .ts src/ test/",
"lint:fix": "eslint --ext .ts src/ test/ --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/curium-rocks/k8s-mutating-webhook.git"
},
"keywords": [
"k8s",
"kubernetes",
"starter",
"template",
"typescript",
"jest",
"inversify"
],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/curium-rocks/k8s-mutating-webhook/issues"
},
"homepage": "https://github.com/curium-rocks/k8s-mutating-webhook#readme",
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/config": "^3.3.0",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"jest": "^29.0.0",
"ts-jest": "29.x.x",
"ts-node": "^10.7.0",
"typescript": "^5.0.0"
},
"dependencies": {
"@fastify/under-pressure": "^8.1.0",
"@kubernetes/client-node": "^0.20.0",
"config": "^3.3.8",
"fast-json-patch": "^3.1.1",
"fastify": "^4.10.2",
"fastify-plugin": "^4.2.1",
"inversify": "^6.0.1",
"reflect-metadata": "^0.2.0"
}
}