Store the serialized cookie jar in Upstash Redis after login and restore it on instance start, so serverless cold starts reuse the session instead of re-authenticating. Falls back to the previous in-memory behavior when Redis is not configured or unavailable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
83 lines
2.3 KiB
JSON
83 lines
2.3 KiB
JSON
{
|
|
"name": "movie-advisor",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "npm run lint && next build",
|
|
"start": "next start",
|
|
"lint": "next lint --fix .",
|
|
"lint-staged": "lint-staged",
|
|
"type-check": "tsc --project tsconfig.json --pretty --noEmit && echo ",
|
|
"prepare": "husky",
|
|
"postbuild": "next-sitemap"
|
|
},
|
|
"engines": {
|
|
"node": "22.x"
|
|
},
|
|
"browserslist": [
|
|
"chrome >= 91",
|
|
"edge >= 91",
|
|
"firefox >= 90",
|
|
"safari >= 15"
|
|
],
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@radix-ui/react-dialog": "^1.1.1",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"@radix-ui/react-toast": "^1.2.2",
|
|
"@tanstack/react-query": "^5.59.15",
|
|
"@tanstack/react-query-next-experimental": "^5.59.16",
|
|
"@types/cheerio": "^0.22.35",
|
|
"@upstash/redis": "^1.38.2",
|
|
"@vidstack/react": "^1.12.13",
|
|
"axios": "^1.7.7",
|
|
"axios-cookiejar-support": "^5.0.3",
|
|
"cheerio": "^1.0.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.0.0",
|
|
"jotai": "^2.2.2",
|
|
"js-cookie": "^3.0.5",
|
|
"lucide-react": "^0.453.0",
|
|
"media-icons": "^1.1.5",
|
|
"next": "^14.2.7",
|
|
"next-pwa": "^5.6.0",
|
|
"next-sitemap": "^4.2.3",
|
|
"next-themes": "^0.4.1",
|
|
"parse-torrent": "^11.0.17",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-modal-promise": "^1.0.2",
|
|
"react-virtuoso": "^4.10.1",
|
|
"torrent-parser": "^1.2.0",
|
|
"tough-cookie": "^5.0.0",
|
|
"typescript": "5.1.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tanstack/react-query-devtools": "^5.59.15",
|
|
"@types/js-cookie": "^3.0.3",
|
|
"@types/parse-torrent": "^5.8.7",
|
|
"@types/react": "18.2.15",
|
|
"@types/react-dom": "18.2.7",
|
|
"autoprefixer": "^10.4.14",
|
|
"critters": "^0.0.25",
|
|
"eslint": "8.45.0",
|
|
"eslint-config-next": "^14.2.7",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
"husky": "^9.1.6",
|
|
"lint-staged": "^15.2.10",
|
|
"parse-torrent-title": "^1.4.0",
|
|
"prettier": "^3.3.3",
|
|
"tailwind-merge": "^1.14.0",
|
|
"tailwindcss": "^3.3.3",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"tailwindcss-touch": "^1.0.1"
|
|
}
|
|
}
|