Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

6.4 KB
Raw Blame
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build and watch API",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["api"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Build and watch Web App",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["web"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Build and watch Admin",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["admin"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Build and watch SMTP Service",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["smtp"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Build and watch TaskRunner",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["taskrunner"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Start dev database",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["db"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Build and watch Admin CSS",
            "type": "shell",
            "command": "npm",
            "args": ["run", "build:admin-css"],
            "problemMatcher": [],
            "options": {
                "cwd": "${workspaceFolder}/apps/server/AliasVault.Admin"
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "Build and watch Web App (API + Web)",
            "dependsOn": [
                "Build and watch API",
                "Build and watch Web App"
            ],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "Run Unit Tests",
            "type": "shell",
            "command": "dotnet",
            "args": ["test"],
            "problemMatcher": "$msCompile",
            "options": {
                "cwd": "${workspaceFolder}/apps/server/Tests/AliasVault.UnitTests"
            },
            "group": {
                "kind": "test",
                "isDefault": true
            }
        },
        {
            "label": "Run Browser Extension (Chrome Dev)",
            "type": "shell",
            "command": "./scripts/dev.sh",
            "args": ["ext"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}"
            }
        },
        {
            "label": "Run debug iOS App (simulator)",
            "type": "shell",
            "command": "npx",
            "args": ["expo", "run:ios"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/apps/mobile-app"
            }
        },
        {
            "label": "Run debug iOS App (device)",
            "type": "shell",
            "command": "npx",
            "args": ["expo", "run:ios", "--device"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/apps/mobile-app"
            }
        },
        {
            "label": "Run release iOS App (device)",
            "type": "shell",
            "command": "npx",
            "args": ["expo", "run:ios", "--device", "--configuration", "Release"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/apps/mobile-app"
            }
        },
        {
            "label": "Run release Android App (device)",
            "type": "shell",
            "command": "npx",
            "args": ["expo", "run:android", "--device", "--variant", "release"],
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/apps/mobile-app"
            }
        },
        {
            "label": "Build and watch docs (dev)",
            "type": "shell",
            "command": "npm install && npm start",
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/docs"
            }
        },
        {
            "label": "Build and start docs (docker)",
            "type": "shell",
            "command": "npm ci && npm run build && docker compose up -d --build",
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "options": {
                "cwd": "${workspaceFolder}/docs"
            }
        }
    ]
}