Files
Escape/package.json
whidix fe8cfdd3f1 feat: initialize SvelteKit project with authentication and database setup
- Add package.json with necessary dependencies and scripts
- Create app.d.ts for type definitions related to authentication
- Set up basic HTML structure in app.html
- Implement server hooks in hooks.server.ts for session management
- Add favicon.svg for branding
- Create index.ts for library imports
- Set up authentication logic in auth.ts using better-auth
- Define database schema in auth.schema.ts and schema.ts for user, session, and game entities
- Create layout and page components with basic content
- Add Tailwind CSS integration in layout.css
- Include robots.txt for web crawling instructions
- Configure SvelteKit with Vercel adapter in svelte.config.js
- Set up TypeScript configuration in tsconfig.json
- Configure Vite with Tailwind CSS and SvelteKit plugins in vite.config.ts
2026-03-07 21:29:45 +01:00

51 lines
1.6 KiB
JSON

{
"name": "escape",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"db:start": "docker compose up",
"db:push": "drizzle-kit push",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:reset": "drizzle-kit drop && drizzle-kit push",
"db:studio": "drizzle-kit studio",
"auth:schema": "better-auth generate --config src/lib/server/auth.ts --output src/lib/server/db/auth.schema.ts --yes"
},
"devDependencies": {
"@better-auth/cli": "~1.4.21",
"@eslint/compat": "^2.0.2",
"@eslint/js": "^9.39.2",
"@sveltejs/adapter-vercel": "^6.3.1",
"@sveltejs/kit": "^2.50.2",
"@sveltejs/vite-plugin-svelte": "^6.2.4",
"@tailwindcss/vite": "^4.1.18",
"@types/node": "^24",
"better-auth": "~1.4.21",
"drizzle-kit": "^0.31.8",
"drizzle-orm": "^0.45.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.14.0",
"globals": "^17.3.0",
"postgres": "^3.4.8",
"prettier": "^3.8.1",
"prettier-plugin-svelte": "^3.4.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"svelte": "^5.51.0",
"svelte-check": "^4.4.2",
"tailwindcss": "^4.1.18",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"vite": "^7.3.1"
}
}