2023-08-19 01:43:36 +08:00
|
|
|
{
|
|
|
|
"name": "@hono/zod-openapi",
|
2025-07-18 16:00:12 +08:00
|
|
|
"version": "1.0.0",
|
2023-08-19 01:43:36 +08:00
|
|
|
"description": "A wrapper class of Hono which supports OpenAPI.",
|
2025-03-27 14:08:49 +08:00
|
|
|
"type": "module",
|
|
|
|
"module": "dist/index.js",
|
2023-08-19 01:43:36 +08:00
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2025-03-27 14:08:49 +08:00
|
|
|
"build": "tsup ./src/index.ts",
|
|
|
|
"prepack": "yarn build",
|
|
|
|
"publint": "attw --pack && publint",
|
2025-04-02 17:28:02 +08:00
|
|
|
"typecheck": "tsc -b tsconfig.json",
|
2025-07-02 07:45:33 +08:00
|
|
|
"test": "vitest",
|
2025-07-06 09:28:02 +08:00
|
|
|
"version:jsr": "yarn version:set $npm_package_version"
|
2023-08-19 01:43:36 +08:00
|
|
|
},
|
2023-10-05 07:40:56 +08:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2023-11-16 05:27:56 +08:00
|
|
|
"import": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"default": "./dist/index.js"
|
2025-03-27 14:08:49 +08:00
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/index.d.cts",
|
|
|
|
"default": "./dist/index.cjs"
|
2023-11-16 05:27:56 +08:00
|
|
|
}
|
2023-10-05 07:40:56 +08:00
|
|
|
}
|
|
|
|
},
|
2023-08-19 01:43:36 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org",
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2025-03-27 14:08:49 +08:00
|
|
|
"url": "git+https://github.com/honojs/middleware.git",
|
|
|
|
"directory": "packages/zod-openapi"
|
2023-08-19 01:43:36 +08:00
|
|
|
},
|
|
|
|
"homepage": "https://github.com/honojs/middleware",
|
|
|
|
"peerDependencies": {
|
2024-05-15 09:06:11 +08:00
|
|
|
"hono": ">=4.3.6",
|
2025-07-18 15:40:21 +08:00
|
|
|
"zod": "^4.0.0"
|
2023-08-19 01:43:36 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2025-03-27 14:08:49 +08:00
|
|
|
"@arethetypeswrong/cli": "^0.17.4",
|
2025-07-05 17:37:06 +08:00
|
|
|
"hono": "^4.8.4",
|
2025-03-27 14:08:49 +08:00
|
|
|
"publint": "^0.3.9",
|
|
|
|
"tsup": "^8.4.0",
|
2025-04-02 17:28:02 +08:00
|
|
|
"typescript": "^5.8.2",
|
2025-06-20 05:59:04 +08:00
|
|
|
"vitest": "^3.2.4",
|
2024-06-04 22:48:47 +08:00
|
|
|
"yaml": "^2.4.3",
|
2025-07-18 15:40:21 +08:00
|
|
|
"zod": "^4.0.5"
|
2023-08-19 01:43:36 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2025-07-18 15:40:21 +08:00
|
|
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
2025-06-27 09:42:46 +08:00
|
|
|
"@hono/zod-validator": "workspace:^",
|
|
|
|
"openapi3-ts": "^4.5.0"
|
2023-08-19 01:43:36 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16.0.0"
|
|
|
|
}
|
2024-09-26 11:18:36 +08:00
|
|
|
}
|