-
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.35 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 3.35 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": "AutomaWebCore",
"version": "1.0.0",
"description": "Web automation infrastructure for Automa.",
"scripts": {
"config": "./.dotfiles/config.sh",
"install:swiftlint": "brew install swiftlint",
"install:swiftformat": "brew install swiftformat",
"install:all": "npx npm-run-all --sequential install:swiftlint install:swiftformat install:flyctl config",
"install:flyctl": "brew install flyctl",
"format": "swiftformat .",
"lint": "swiftlint --config=.swiftlint.yml .",
"format": "swiftformat .",
"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'",
"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:down": "npm run compose -- down",
"compose:ps": "npm run compose -- ps -a",
"compose": "docker compose",
"generate": "npm run cli -- generate",
"cli": "automa",
"fly:config": "npm run generate -- fly",
"swift:build-and-run": "sh -c 'cd \"$1\" && swift build && shift && swift run \"$@\"' --",
"autoscaler:all": "npx npm-run-all --parallel autoscaler:creator autoscaler:off_machines_destroyer autoscaler:old_machines_destroyer",
"autoscaler:creator": "npm run swift:build-and-run ./SeleniumGridNodeMachineAutoscaler SeleniumGridNodeMachineAutoscaler autocreator",
"autoscaler:off_machines_destroyer": "npm run swift:build-and-run ./SeleniumGridNodeMachineAutoscaler SeleniumGridNodeMachineAutoscaler autodestroyer offMachines",
"autoscaler:old_machines_destroyer": "npm run swift:build-and-run ./SeleniumGridNodeMachineAutoscaler SeleniumGridNodeMachineAutoscaler autodestroyer oldMachines",
"api": "npm run swift:build-and-run -- ./API API",
"autoscaler:all": "npx npm-run-all --parallel autoscaler:creator autoscaler:off_machines_destroyer autoscaler:old_machines_destroyer",
"fly:config": "npm run generate -- fly",
"deploy:autoscaler:sandbox": "bash ./infra/scripts/deploy-app.sh ./SeleniumGridNodeMachineAutoscaler autoscaler sandbox",
"deploy:autoscaler:staging": "bash ./infra/scripts/deploy-app.sh ./SeleniumGridNodeMachineAutoscaler autoscaler staging",
"deploy:autoscaler:production": "bash ./infra/scripts/deploy-app.sh ./SeleniumGridNodeMachineAutoscaler autoscaler production",
"deploy:api:sandbox": "bash ./infra/scripts/deploy-app.sh ./API api sandbox",
"deploy:api:staging": "bash ./infra/scripts/deploy-app.sh ./API api staging",
"deploy:api:production": "bash ./infra/scripts/deploy-app.sh ./API api production"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GetAutomaApp/AutomaWebCore.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/GetAutomaApp/AutomaWebCore/issues"
},
"homepage": "https://github.com/GetAutomaApp/AutomaWebCore#readme"
}