mirror of
https://github.com/tiennm99/loldle.git
synced 2026-10-11 03:13:42 +00:00
Move the SvelteKit config into vite.config.js, replace the $lib alias with #lib subpath imports (dropping the vitest alias), extend $app/tsconfig, and pass asset() paths without a leading slash. Drop the @babel/core and js-yaml overrides, which no longer match anything in the tree.
35 lines
754 B
JSON
35 lines
754 B
JSON
{
|
|
"name": "loldle",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@sveltejs/adapter-static": "^4.0.0",
|
|
"@sveltejs/kit": "^3.0.0",
|
|
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"eslint": "^10",
|
|
"eslint-plugin-svelte": "^3.22.0",
|
|
"globals": "^17.7.0",
|
|
"svelte": "^5.57.1",
|
|
"tailwindcss": "^4.3.3",
|
|
"vite": "^8.1.5",
|
|
"vitest": "^5.0.3"
|
|
},
|
|
"overrides": {
|
|
"postcss": ">=8.5.16"
|
|
},
|
|
"imports": {
|
|
"#lib/*": "./src/lib/*"
|
|
}
|
|
}
|