updated npm run buildmac

This commit is contained in:
2026-02-08 18:17:27 -05:00
parent 10942040e4
commit 8d4959dbb3
2 changed files with 5 additions and 1 deletions

View File

@@ -3,7 +3,10 @@
"allow": [ "allow": [
"Bash(tree:*)", "Bash(tree:*)",
"Bash(npm install:*)", "Bash(npm install:*)",
"Bash(npm run build:*)" "Bash(npm run build:*)",
"Bash(nginx -t:*)",
"Bash(sudo nginx:*)",
"Bash(ln -s:*)"
] ]
} }
} }

View File

@@ -8,6 +8,7 @@
"server": "node server/index.js", "server": "node server/index.js",
"dev:all": "concurrently \"npm run dev\" \"npm run server\"", "dev:all": "concurrently \"npm run dev\" \"npm run server\"",
"build": "vite build", "build": "vite build",
"buildmac": "vite build && rm -rf /opt/homebrew/var/www/signsync && cp -r dist /opt/homebrew/var/www/signsync",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview" "preview": "vite preview"
}, },