Package scripts for CI
JSON
{
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint . --max-warnings 0",
"test": "vitest run",
"check": "npm run lint && npm run test && npm run build"
}
}