Files
hop-gate/package.json
dalbodeule 0c4e02f832 [feat](errorpages): add custom templates for HTTP errors and assets
- 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`.
2025-12-02 21:57:30 +09:00

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"
}
}