Skip to content

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

Add web app build tasks (#2413)

Leendert de Borst7e28a0b2d3db
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index e41a18878..62fdde64a 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -29,6 +29,20 @@
"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",
@@ -113,6 +127,18 @@
"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": "Build and watch Client (API + Client + CSS)",
"dependsOn": [
diff --git a/apps/web/package.json b/apps/web/package.json
index 9f51b3f12..8533dc499 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -11,6 +11,8 @@
"build": "vite build",
"preview": "vite preview",
"compile": "tsc --noEmit",
+ "lint": "eslint src",
+ "lint:fix": "eslint src --fix",
},
"dependencies": {
"@aliasvault/client": "file:../../core/client",