The Svelte 5 SSG Migration #1

Merged
mifi merged 14 commits from feature/svelte-ssg into main 2026-02-01 05:50:42 +00:00
Showing only changes of commit 203f141291 - Show all commits

View File

@@ -7,21 +7,21 @@
"description": "mifi Ventures landing site — SvelteKit static build with critical CSS inlining", "description": "mifi Ventures landing site — SvelteKit static build with critical CSS inlining",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite dev",
"build": "vite build && node scripts/critters.mjs", "build": "vite build && node scripts/critters.mjs",
"preview": "serve dist -p 4173", "dev": "vite dev",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "vitest run", "format": "prettier --write \"src/**/*.{ts,js,svelte,css,json}\"",
"test:unit": "vitest run",
"test:e2e": "playwright test",
"test:all": "vitest run && playwright test",
"test:watch": "vitest",
"lint": "eslint .", "lint": "eslint .",
"lint:fix": "eslint . --fix", "lint:fix": "eslint . --fix",
"lint:css": "stylelint \"src/**/*.css\" \"src/**/*.svelte\"", "lint:css": "stylelint \"src/**/*.css\" \"src/**/*.svelte\"",
"lint:css:fix": "stylelint \"src/**/*.css\" \"src/**/*.svelte\" --fix", "lint:css:fix": "stylelint \"src/**/*.css\" \"src/**/*.svelte\" --fix",
"format": "prettier --write \"src/**/*.{ts,js,svelte,css,json}\"" "preview": "serve dist -p 4173",
"test": "vitest run",
"test:unit": "vitest run",
"test:e2e": "playwright test",
"test:all": "vitest run && playwright test",
"test:watch": "vitest"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.39.2", "@eslint/js": "^9.39.2",