-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
30 lines (30 loc) · 1.59 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
{
"name": "kairos",
"version": "0.0.34",
"main": "index.js",
"author": "lucatrazzi <lucax88x@gmail.com>",
"license": "MIT",
"scripts": {
"build": "yarn frontend:build && yarn backend:build",
"version:write": "sh ./scripts/version.write.sh",
"frontend:prettier": "cd src/kairos.app && yarn prettier",
"frontend:lint": "cd src/kairos.app && yarn lint",
"frontend:test": "cd src/kairos.app && yarn test --no-watch",
"frontend:build": "cd src/kairos.app && yarn build",
"frontend:publish": "rm -rf src/Kairos.Web.App/wwwroot && cd src/kairos.app && yarn build && cp -r build ../Kairos.Web.App/wwwroot",
"backend:generate-project": "bash src/generate.sh",
"backend:test": "dotnet test src/Kairos.sln --logger trx",
"backend:build": "dotnet build src/Kairos.sln",
"docker:up": "docker-compose -f docker-compose.dev.yml up -d",
"docker:down": "docker-compose -f docker-compose.dev.yml down",
"docker:logs": "docker-compose -f docker-compose.dev.yml logs",
"docker:logs:watch": "docker-compose -f docker-compose.dev.yml logs -f -t",
"docker:build": "sh ./scripts/docker.build.sh",
"docker:push": "sh ./scripts/docker.push.sh",
"k8s:deploy": "sh ./scripts/k8s.deploy.sh",
"k8s:dashboard": "http://127.0.0.1:8001/api/v1/namespaces/kubernetes-dashboard/services/https%3Akubernetes-dashboard%3A/proxy/",
"k8s:token": "kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')",
"version:update": "sh ./scripts/version.update.sh",
"deploy:create": "sh ./scripts/deploy.create.sh"
}
}