-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
69 lines (65 loc) · 3.86 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
{
"scripts": {
"lint": "eslint --no-error-on-unmatched-pattern * && prettier --check .",
"lint:watch": "nodemon -e ts --exec \"clear; yarn lint\"",
"format": "prettier .",
"dev": "docker compose -f infra/docker/docker-compose.database.yml up",
"undev": "docker compose -f infra/docker/docker-compose.database.yml down --remove-orphans",
"build": "yarn build:database & yarn build:server & yarn build:web & wait; echo \"Lexico built!\"",
"start": "docker compose -f infra/docker/docker-compose.database.yml -f infra/docker/docker-compose.yml up",
"stop": "docker compose -f infra/docker/docker-compose.database.yml -f infra/docker/docker-compose.yml down --remove-orphans",
"build:web": "DOCKER_BUILDKIT=1 docker build -f infra/docker/web.Dockerfile -t jimmypaolini/lexico-web .",
"build:server": "DOCKER_BUILDKIT=1 docker build -f infra/docker/server.Dockerfile -t jimmypaolini/lexico-server .",
"build:database": "docker image pull postgres:13",
"deploy:web": "kubectl apply -f ./infra/kubernetes/web.yaml",
"deploy:server": "kubectl apply -f ./infra/kubernetes/server.yaml",
"deploy:env": "kubectl apply -f ./infra/kubernetes/.env.yaml",
"deploy:ingress": "kubectl apply -f ./infra/kubernetes/ingress.yaml",
"deploy:database": "helm install database bitnami/postgresql -f ./infra/helm/database.yaml --set postgresqlPassword=(k get cm env -o \"jsonpath={.data.POSTGRES_PASSWORD}\") --set replication.password=(k get cm env -o \"jsonpath={.data.POSTGRES_PASSWORD}\")",
"deploy:nginx": "helm install nginx ingress-nginx/ingress-nginx -f ./infra/helm/nginx.yaml",
"deploy:elasticsearch": "helm install elasticsearch elastic/elasticsearch -n logging -f ./infra/helm/elasticsearch.yaml",
"deploy:fluentbit": "helm install fluentbit fluent/fluent-bit -n logging -f ./infra/helm/fluentbit.yaml",
"deploy:kibana": "helm install kibana elastic/kibana -n logging -f ./infra/helm/kibana.yaml",
"deploy:monitoring": "helm install monitoring prometheus-community/kube-prometheus-stack -n monitoring",
"update:web": "kubectl rollout restart deployment web",
"update:server": "kubectl rollout restart deployment server",
"update:database": "helm upgrade database bitnami/postgresql -f ./infra/helm/database.yaml --set postgresqlPassword=(k get cm env -o \"jsonpath={.data.POSTGRES_PASSWORD}\") --set replication.password=(k get cm env -o \"jsonpath={.data.POSTGRES_PASSWORD}\")",
"update:nginx": "helm upgrade nginx ingress-nginx/ingress-nginx -f ./infra/helm/nginx.yaml",
"update:elasticsearch": "helm upgrade elasticsearch elastic/elasticsearch -n logging -f ./infra/helm/elasticsearch.yaml",
"update:fluentbit": "helm upgrade fluentbit fluent/fluent-bit -n logging -f ./infra/helm/fluentbit.yaml",
"update:kibana": "helm upgrade kibana elastic/kibana -n logging -f ./infra/helm/kibana.yaml",
"update:monitoring": "helm upgrade monitoring prometheus-community/kube-prometheus-stack -n monitoring"
},
"dependencies": {
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"graphql": "^15.5.0",
"number-to-words": "^1.2.4",
"type-graphql": "^1.1.1",
"typeorm": "^0.2.31",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/node": "^14.14.11",
"@types/number-to-words": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"class-validator": "^0.12.2",
"eslint": "^7.23.0",
"eslint-plugin-react": "^7.24.0",
"eslint-config-prettier": "^8.1.0",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.2"
},
"bugs": {
"url": "https://github.com/JimmyPaolini/Lexico/issues"
},
"homepage": "https://www.lexicolatin.com",
"name": "lexico",
"author": "Jimmy Paolini",
"description": "Latin Language Interface",
"repository": "https://github.com/JimmyPaolini/Lexico",
"version": "2.0.0",
"license": "MIT"
}