|
9 | 9 | "dev": "vite", |
10 | 10 | "build": "tsc -b && vite build", |
11 | 11 | "lint": "biome lint .", |
12 | | - "preview": "vite preview", |
| 12 | + "preview": "pnpm run build && wrangler dev", |
13 | 13 | "test": "vitest run", |
14 | 14 | "test:watch": "vitest", |
15 | 15 | "coverage": "vitest run --coverage", |
|
20 | 20 | "spell": "cspell \"**/*.{ts,tsx,js,jsx,md,txt,html,css,scss,less}\" --no-progress --show-context --show-suggestions", |
21 | 21 | "spell:check": "cspell \"**/*.{ts,tsx,js,jsx,md,txt,html,css,scss,less}\" --no-progress", |
22 | 22 | "spell:staged": "cspell --no-progress --show-context", |
23 | | - "prepare": "husky" |
| 23 | + "prepare": "husky", |
| 24 | + "deploy": "pnpm run build && wrangler deploy" |
24 | 25 | }, |
25 | 26 | "dependencies": { |
26 | 27 | "@hookform/resolvers": "^5.2.2", |
|
65 | 66 | }, |
66 | 67 | "devDependencies": { |
67 | 68 | "@biomejs/biome": "^2.3.13", |
| 69 | + "@cloudflare/vite-plugin": "^1.30.0", |
68 | 70 | "@testing-library/jest-dom": "^6.9.1", |
69 | 71 | "@testing-library/react": "^16.3.2", |
70 | 72 | "@testing-library/user-event": "^14.6.1", |
|
84 | 86 | "typescript": "~5.9.3", |
85 | 87 | "vite": "^7.3.1", |
86 | 88 | "vitest": "^4.0.18", |
87 | | - "whatwg-fetch": "^3.6.20" |
| 89 | + "whatwg-fetch": "^3.6.20", |
| 90 | + "wrangler": "^4.76.0" |
88 | 91 | }, |
89 | 92 | "lint-staged": { |
90 | 93 | "*.{ts,tsx,js,jsx,json,css,md}": [ |
|
0 commit comments