mirror of
https://github.com/dalbodeule/hop-gate.git
synced 2025-12-07 20:35:44 +09:00
- Implemented custom HTML templates for `400`, `404`, `500`, and `525` error pages with multilingual support. - Added embedded file system for error page templates and assets. - Introduced fallback mechanism to serve minimal plain text for missing error templates. - Integrated TailwindCSS for styling error pages, with a build script in `package.json`.
26 lines
748 B
JSON
26 lines
748 B
JSON
{
|
|
"name": "hop-gate",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "> Korean / English bilingual README. (ko/en 병기 README입니다.)",
|
|
"homepage": "https://github.com/dalbodeule/hop-gate#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/dalbodeule/hop-gate/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/dalbodeule/hop-gate.git"
|
|
},
|
|
"license": "ISC",
|
|
"author": "",
|
|
"type": "commonjs",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build:errors-css": "tailwindcss -c ./tools/tailwind/tailwind.config.cjs -i ./tools/tailwind/input.css -o ./internal/errorpages/assets/errors.css --minify"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/cli": "^4.1.17",
|
|
"tailwindcss": "^4.1.17"
|
|
}
|
|
}
|