- Added a new script to scrape devil fruits and characters from One Piece fandom. - Implemented functions to fetch, normalize, and save data in JSON, CSV, and SQL formats. - Created a structured output directory for scraped data. feat(database): update schema for devil fruits and characters - Defined new types for devil fruits and haki in the database schema. - Updated the character table to include fields for age, affiliations, devil fruit, haki, bounty, height, origin, first appearance, and picture URL. feat(ui): enhance main page and daily mode layout - Redesigned the main page with a new layout and styling for the OnePieceDle game. - Created a new daily mode page with sections for clues and user input for guesses. - Removed demo authentication routes and pages to streamline the application.
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "onepiecedle",
|
|
"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:push": "drizzle-kit push",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:studio": "drizzle-kit studio",
|
|
"db:import": "node scripts/import-sql.js",
|
|
"auth:schema": "npx @better-auth/cli generate --config src/lib/server/auth.ts --output src/lib/server/db/auth.schema.ts --yes",
|
|
"scrape": "node scripts/scrape-onepiece.js"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/compat": "^2.0.2",
|
|
"@eslint/js": "^9.39.2",
|
|
"@libsql/client": "^0.17.0",
|
|
"@sveltejs/adapter-auto": "^7.0.0",
|
|
"@sveltejs/kit": "^2.50.2",
|
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
"@tailwindcss/forms": "^0.5.11",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@types/node": "^24",
|
|
"better-auth": "^1.4.18",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"csv-writer": "^1.6.0",
|
|
"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",
|
|
"prettier": "^3.8.1",
|
|
"prettier-plugin-svelte": "^3.4.1",
|
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
"svelte": "^5.51.0",
|
|
"svelte-check": "^4.3.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.54.0",
|
|
"vite": "^7.3.1"
|
|
}
|
|
}
|