Add start-local npm script for local development (#4655)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Suchintan
2026-02-06 14:26:15 -05:00
committed by GitHub
parent fe9324a86b
commit 0772ae8aa9

View File

@@ -4,14 +4,16 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite & npm run run-artifact-server",
"dev": "vite",
"build": "tsc --noEmit && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write .",
"preview": "vite preview",
"prepare": "cd .. && command -v pre-commit >/dev/null 2>&1 && pre-commit install || echo 'pre-commit not installed, skipping hook setup'",
"precommit": "lint-staged",
"artifact-server": "node artifactServer.js",
"run-artifact-server": "node artifactServer.js",
"start-local": "npm run dev & npm run artifact-server",
"serve": "npm run build && node localServer.js",
"test": "vitest run",
"start": "npm run serve & npm run run-artifact-server"