mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
- Introduced a Vite plugin to inject the photos manifest into the HTML, enabling dynamic updates and hot reloading. - Updated ESLint configuration to ignore build errors during SSR. - Modified package.json scripts for concurrent development of SSR and web applications. - Adjusted paths and imports for better module resolution and consistency across the codebase. - Added type definitions for the global __MANIFEST__ variable to ensure type safety. Signed-off-by: Innei <tukon479@gmail.com>
35 lines
979 B
JSON
35 lines
979 B
JSON
{
|
|
"name": "@afilmory/ssr",
|
|
"type": "module",
|
|
"version": "1.0.0",
|
|
"packageManager": "pnpm@10.12.3",
|
|
"description": "",
|
|
"author": "Innei",
|
|
"license": "ISC",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "sh scripts/build.sh",
|
|
"build:jpg": "node scripts/webp-to-jpg.js",
|
|
"build:next": "next build",
|
|
"deploy": "npm run pages:build && wrangler pages deploy",
|
|
"dev": "concurrently \"pnpm run dev:next\" \"pnpm run dev:web\"",
|
|
"dev:next": "next dev --turbo --port 1975",
|
|
"dev:web": "cross-env DEV_NEXT_JS=true pnpm --filter web dev",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@afilmory/data": "workspace:*",
|
|
"linkedom": "0.18.11",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/next-on-pages": "1.13.12",
|
|
"@types/node": "24.0.4",
|
|
"@types/react": "19.1.8",
|
|
"@types/react-dom": "19.1.6",
|
|
"concurrently": "9.2.0",
|
|
"cross-env": "7.0.3",
|
|
"next": "15.3.4"
|
|
}
|
|
} |