Files
loldle/web/package.json
T
tiennm99 e2ae34a8ab build: scaffold SvelteKit alongside the Next.js app
Add svelte.config.js (adapter-static, BASE_PATH-driven base), vite.config.js
(Tailwind v4 Vite plugin ahead of sveltekit), the src/ shell, and static/
holding a copy of champions.json plus .nojekyll.

Declares "type": "module" so Vite can load the .js config files; Next.js was
only unaffected because all its configs use .mjs. jsconfig keeps the @/* alias
so pnpm next:build stays runnable for side-by-side comparison during the port.

Next.js scripts move to next:* and both toolchains build from this commit.
2026-07-25 11:00:14 +07:00

36 lines
831 B
JSON

{
"name": "loldle",
"version": "0.1.0",
"private": true,
"type": "module",
"packageManager": "pnpm@11.1.1",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint",
"test": "vitest run",
"test:watch": "vitest",
"next:dev": "next dev",
"next:build": "next build"
},
"dependencies": {
"next": "16.2.10",
"react": "19.2.7",
"react-dom": "19.2.7"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.70.1",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/vite": "^4.3.3",
"eslint": "^9",
"eslint-config-next": "16.2.10",
"svelte": "^5.56.7",
"tailwindcss": "^4.3.3",
"vite": "^8.1.5",
"vitest": "^4.1.10"
}
}