-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 3.11 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 3.11 KB
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
{
"name": "automainfracore",
"version": "1.0.0",
"description": "Main infrastructure & core of Automa",
"scripts": {
"main": "index.js",
"cli:docker": "docker exec -ti backend-app_dev-1 ./.build/aarch64-unknown-linux-gnu/debug/App --env local",
"prepare:action": "npm install",
"generate": "npm run cli -- generate",
"cli": "automa",
"fly:config": "npm run generate -- fly",
"format": "swiftformat .",
"deploy:backend:sandbox": "npm run fly:config -- fly sandbox | npm run deploy:to:fly",
"deploy:backend:staging": "npm run fly:config -- fly staging | npm run deploy:to:fly",
"deploy:backend:production": "npm run fly:config -- fly production | npm run deploy:to:fly",
"deploy:to:fly": "tail -n 1 | xargs -Ixx cp xx Backend/.fly.toml && cd Backend && flyctl deploy --ha=false --config=.fly.toml --build-secret GITHUB_SSH_AUTHENTICATION_TOKEN=$(cat ./infra/docker-secrets/GITHUB_SSH_AUTHENTICATION_TOKEN)",
"deploy:worker:sandbox": "npm run fly:config -- temporal-worker sandbox | npm run deploy:to:fly",
"deploy:worker:production": "npm run fly:config -- temporal-worker production | npm run deploy:to:fly",
"build:all": "npx npm-run-all --parallel build:ui-kit build:backend",
"build:ui-kit": "cd App/AutomaUIKit && swift build",
"build:backend": "cd Backend && swift build",
"prepare": "husky install && npm run install:all",
"gen:ui-kit": "cd App/AutomaUIKit ; swiftgen",
"install:swiftlint": "brew install swiftlint",
"install:swiftgen": "brew install swiftgen",
"install:swiftformat": "brew install swiftformat",
"install:temporal": "brew install temporal",
"install:all": "npx npm-run-all --sequential install:swiftlint install:temporal install:swiftgen install:swiftformat config",
"temporal:up": "temporal server start-dev",
"compose:up": "npm run compose -- up -d",
"compose:build": "npm run compose -- build",
"compose:build:no-cache": "npm run compose -- build --no-cache",
"compose:build-and-up": "npx npm-run-all --sequential compose:build compose:up",
"compose:build-no-cache-and-up": "npx npm-run-all --sequential compose:build:no-cache compose:up",
"compose:up:attach-api": "npm run compose -- build && npm run compose -- up -d && npm run compose -- attach api_dev",
"compose:down": "npm run compose -- down",
"compose:ps": "npm run compose -- ps -a",
"compose": "cd Backend && docker compose",
"pull:secrets": "",
"gh:push:testing:secrets": "cd Backend && ./infra/github/push-secrets.sh",
"config": "./.dotfiles/config.sh",
"update:submodules": "git submodule foreach --recursive 'branch=$(git remote show origin | awk \"/HEAD branch/ {print \\$NF}\"); git checkout $branch && git pull origin $branch' && CHANGED=$(git status --porcelain | grep '^ M \\.dotfiles' || true) && if [ -n \"$CHANGED\" ]; then npm run config; fi && git add -A && git commit -m \"chore: update submodules\" || echo 'No changes to commit'",
"lint": "swiftlint . --config=.swiftlint.yml"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"husky": "^8.0.0",
"npm-run-all": "^4.1.5"
}
}