2021-12-14 20:26:22 +01:00
|
|
|
{
|
|
|
|
"name": "hono",
|
2023-12-16 23:39:05 +01:00
|
|
|
"version": "3.11.8",
|
2023-05-14 01:33:34 +02:00
|
|
|
"description": "Ultrafast web framework for the Edges",
|
2022-10-28 01:46:02 +02:00
|
|
|
"main": "dist/cjs/index.js",
|
2022-11-26 07:45:24 +01:00
|
|
|
"type": "module",
|
2022-09-15 02:56:46 +02:00
|
|
|
"module": "dist/index.js",
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "dist/types/index.d.ts",
|
2022-01-05 10:41:29 +01:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-02-23 01:58:24 +01:00
|
|
|
"scripts": {
|
2023-09-08 15:31:15 +02:00
|
|
|
"test": "tsc --noEmit && vitest --run",
|
2023-11-08 13:07:35 +01:00
|
|
|
"test:deno": "env NAME=Deno deno test --allow-read --allow-env runtime_tests/deno && deno test --no-lock -c runtime_tests/deno-jsx/deno.precompile.json runtime_tests/deno-jsx && deno test --no-lock -c runtime_tests/deno-jsx/deno.react-jsx.json runtime_tests/deno-jsx",
|
2023-08-21 08:22:37 +02:00
|
|
|
"test:bun": "env NAME=Bun bun test --jsx-import-source ../../src/jsx runtime_tests/bun/index.test.tsx",
|
2023-12-17 13:17:18 +01:00
|
|
|
"test:fastly": "vitest --run --config ./runtime_tests/fastly/vitest.config.ts",
|
2023-09-08 10:42:28 +02:00
|
|
|
"test:lagon": "start-server-and-test \"lagon dev runtime_tests/lagon/index.ts -e runtime_tests/lagon/.env.lagon\" http://127.0.0.1:1234 \"yarn vitest --run runtime_tests/lagon/index.test.ts --config runtime_tests/lagon/vitest.config.ts\"",
|
|
|
|
"test:node": "env NAME=Node vitest --run --config ./runtime_tests/node/vitest.config.ts",
|
|
|
|
"test:wrangler": "vitest --run --config ./runtime_tests/wrangler/vitest.config.ts",
|
|
|
|
"test:lambda": "env NAME=Node vitest --run --config ./runtime_tests/lambda/vitest.config.ts",
|
|
|
|
"test:lambda-edge": "env NAME=Node vitest --run --config ./runtime_tests/lambda-edge/vitest.config.ts",
|
2023-07-07 10:41:33 +02:00
|
|
|
"test:all": "yarn test && yarn test:deno && yarn test:bun && yarn test:fastly && yarn test:lagon && yarn test:node && yarn test:wrangler && yarn test:lambda && yarn test:lambda-edge",
|
2023-12-13 10:35:30 +01:00
|
|
|
"lint": "eslint --ext js,ts src runtime_tests",
|
|
|
|
"lint:fix": "eslint --ext js,ts src runtime_tests --fix",
|
2023-08-15 15:34:45 +02:00
|
|
|
"format": "prettier --check 'src/**/*.{js,ts}' 'runtime_tests/**/*.{js,ts}'",
|
|
|
|
"format:fix": "prettier --write 'src/**/*.{js,ts}' 'runtime_tests/**/*.{js,ts}'",
|
2023-10-05 09:57:33 +02:00
|
|
|
"denoify": "rimraf deno_dist && denoify && rimraf 'deno_dist/**/*.test.{ts,tsx}'",
|
2022-12-27 14:59:23 +01:00
|
|
|
"copy:package.cjs.json": "cp ./package.cjs.json ./dist/cjs/package.json && cp ./package.cjs.json ./dist/types/package.json ",
|
2022-10-28 01:46:02 +02:00
|
|
|
"build": "rimraf dist && tsx ./build.ts && yarn copy:package.cjs.json",
|
2023-01-19 14:32:11 +01:00
|
|
|
"postbuild": "publint",
|
2022-10-28 01:46:02 +02:00
|
|
|
"watch": "rimraf dist && tsx ./build.ts --watch && yarn copy:package.cjs.json",
|
2023-09-08 10:42:28 +02:00
|
|
|
"coverage": "vitest --run --coverage",
|
2022-07-13 01:25:36 +02:00
|
|
|
"prerelease": "yarn denoify && yarn test:deno && yarn build",
|
2022-07-02 08:52:11 +02:00
|
|
|
"release": "np"
|
2022-02-23 01:58:24 +01:00
|
|
|
},
|
2022-02-01 14:15:00 +01:00
|
|
|
"exports": {
|
2022-09-15 02:56:46 +02:00
|
|
|
".": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/index.js",
|
|
|
|
"require": "./dist/cjs/index.js"
|
|
|
|
},
|
2023-10-22 22:26:38 +02:00
|
|
|
"./types": {
|
|
|
|
"types": "./dist/types/types.d.ts",
|
|
|
|
"import": "./dist/types.js",
|
|
|
|
"require": "./dist/cjs/types.js"
|
|
|
|
},
|
2023-10-21 16:58:38 +02:00
|
|
|
"./hono-base": {
|
|
|
|
"types": "./dist/types/hono-base.d.ts",
|
|
|
|
"import": "./dist/hono-base.js",
|
|
|
|
"require": "./dist/cjs/hono-base.js"
|
|
|
|
},
|
2023-04-26 03:15:45 +02:00
|
|
|
"./tiny": {
|
2023-05-09 14:56:55 +02:00
|
|
|
"types": "./dist/types/preset/tiny.d.ts",
|
|
|
|
"import": "./dist/preset/tiny.js",
|
|
|
|
"require": "./dist/cjs/preset/tiny.js"
|
|
|
|
},
|
|
|
|
"./quick": {
|
|
|
|
"types": "./dist/types/preset/quick.d.ts",
|
|
|
|
"import": "./dist/preset/quick.js",
|
|
|
|
"require": "./dist/cjs/preset/quick.js"
|
2023-04-26 03:15:45 +02:00
|
|
|
},
|
2023-02-11 10:05:50 +01:00
|
|
|
"./http-exception": {
|
|
|
|
"types": "./dist/types/http-exception.d.ts",
|
|
|
|
"import": "./dist/http-exception.js",
|
|
|
|
"require": "./dist/cjs/http-exception.js"
|
|
|
|
},
|
2022-09-15 02:56:46 +02:00
|
|
|
"./basic-auth": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/basic-auth/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/basic-auth/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/basic-auth/index.js"
|
|
|
|
},
|
|
|
|
"./bearer-auth": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/bearer-auth/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/bearer-auth/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/bearer-auth/index.js"
|
|
|
|
},
|
|
|
|
"./cache": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/cache/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/cache/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/cache/index.js"
|
|
|
|
},
|
2023-05-05 04:08:03 +02:00
|
|
|
"./cookie": {
|
2023-08-21 08:22:37 +02:00
|
|
|
"types": "./dist/types/helper/cookie/index.d.ts",
|
|
|
|
"import": "./dist/helper/cookie/index.js",
|
|
|
|
"require": "./dist/cjs/helper/cookie/index.js"
|
2023-05-05 04:08:03 +02:00
|
|
|
},
|
2022-09-15 02:56:46 +02:00
|
|
|
"./compress": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/compress/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/compress/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/compress/index.js"
|
|
|
|
},
|
|
|
|
"./cors": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/cors/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/cors/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/cors/index.js"
|
|
|
|
},
|
|
|
|
"./etag": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/etag/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/etag/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/etag/index.js"
|
|
|
|
},
|
|
|
|
"./html": {
|
2023-08-21 08:22:37 +02:00
|
|
|
"types": "./dist/types/helper/html/index.d.ts",
|
|
|
|
"import": "./dist/helper/html/index.js",
|
|
|
|
"require": "./dist/cjs/helper/html/index.js"
|
2022-09-15 02:56:46 +02:00
|
|
|
},
|
|
|
|
"./jsx": {
|
2023-08-21 08:22:37 +02:00
|
|
|
"types": "./dist/types/jsx/index.d.ts",
|
|
|
|
"import": "./dist/jsx/index.js",
|
|
|
|
"require": "./dist/cjs/jsx/index.js"
|
2022-09-15 02:56:46 +02:00
|
|
|
},
|
|
|
|
"./jsx/jsx-dev-runtime": {
|
2023-08-21 08:22:37 +02:00
|
|
|
"types": "./dist/types/jsx/jsx-dev-runtime.d.ts",
|
|
|
|
"import": "./dist/jsx/jsx-dev-runtime.js",
|
|
|
|
"require": "./dist/cjs/jsx/jsx-dev-runtime.js"
|
2022-09-15 02:56:46 +02:00
|
|
|
},
|
|
|
|
"./jsx/jsx-runtime": {
|
2023-08-21 08:22:37 +02:00
|
|
|
"types": "./dist/types/jsx/jsx-runtime.d.ts",
|
|
|
|
"import": "./dist/jsx/jsx-runtime.js",
|
|
|
|
"require": "./dist/cjs/jsx/jsx-runtime.js"
|
2022-09-15 02:56:46 +02:00
|
|
|
},
|
2023-11-06 23:09:04 +01:00
|
|
|
"./jsx/streaming": {
|
|
|
|
"types": "./dist/types/jsx/streaming.d.ts",
|
|
|
|
"import": "./dist/jsx/streaming.js",
|
|
|
|
"require": "./dist/cjs/jsx/streaming.js"
|
|
|
|
},
|
2023-10-05 09:57:33 +02:00
|
|
|
"./jsx-renderer": {
|
|
|
|
"types": "./dist/types/middleware/jsx-renderer/index.d.ts",
|
|
|
|
"import": "./dist/middleware/jsx-renderer/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/jsx-renderer/index.js"
|
|
|
|
},
|
2022-09-15 02:56:46 +02:00
|
|
|
"./jwt": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/jwt/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/jwt/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/jwt/index.js"
|
|
|
|
},
|
2023-07-03 04:19:49 +02:00
|
|
|
"./timing": {
|
|
|
|
"types": "./dist/types/middleware/timing/index.d.ts",
|
|
|
|
"import": "./dist/middleware/timing/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/timing/index.js"
|
|
|
|
},
|
2022-09-15 02:56:46 +02:00
|
|
|
"./logger": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/logger/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/logger/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/logger/index.js"
|
|
|
|
},
|
|
|
|
"./powered-by": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/powered-by/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/powered-by/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/powered-by/index.js"
|
|
|
|
},
|
|
|
|
"./pretty-json": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/middleware/pretty-json/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/middleware/pretty-json/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/pretty-json/index.js"
|
|
|
|
},
|
2023-08-20 17:24:59 +02:00
|
|
|
"./secure-headers": {
|
|
|
|
"types": "./dist/types/middleware/secure-headers/index.d.ts",
|
|
|
|
"import": "./dist/middleware/secure-headers/index.js",
|
|
|
|
"require": "./dist/cjs/middleware/secure-headers/index.js"
|
|
|
|
},
|
2023-10-16 11:13:09 +02:00
|
|
|
"./streaming": {
|
|
|
|
"types": "./dist/types/helper/streaming/index.d.ts",
|
|
|
|
"import": "./dist/helper/streaming/index.js",
|
|
|
|
"require": "./dist/cjs/helper/streaming/index.js"
|
|
|
|
},
|
2022-09-15 02:56:46 +02:00
|
|
|
"./validator": {
|
2023-02-10 17:18:27 +01:00
|
|
|
"types": "./dist/types/validator/index.d.ts",
|
|
|
|
"import": "./dist/validator/index.js",
|
|
|
|
"require": "./dist/cjs/validator/index.js"
|
2022-09-15 02:56:46 +02:00
|
|
|
},
|
|
|
|
"./router/reg-exp-router": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/router/reg-exp-router/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/router/reg-exp-router/index.js",
|
|
|
|
"require": "./dist/cjs/router/reg-exp-router/index.js"
|
|
|
|
},
|
|
|
|
"./router/smart-router": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/router/smart-router/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/router/smart-router/index.js",
|
|
|
|
"require": "./dist/cjs/router/smart-router/index.js"
|
|
|
|
},
|
|
|
|
"./router/trie-router": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/router/trie-router/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/router/trie-router/index.js",
|
|
|
|
"require": "./dist/cjs/router/trie-router/index.js"
|
|
|
|
},
|
2023-05-24 09:05:50 +02:00
|
|
|
"./router/pattern-router": {
|
|
|
|
"types": "./dist/types/router/pattern-router/index.d.ts",
|
|
|
|
"import": "./dist/router/pattern-router/index.js",
|
|
|
|
"require": "./dist/cjs/router/pattern-router/index.js"
|
|
|
|
},
|
|
|
|
"./router/linear-router": {
|
|
|
|
"types": "./dist/types/router/linear-router/index.d.ts",
|
|
|
|
"import": "./dist/router/linear-router/index.js",
|
|
|
|
"require": "./dist/cjs/router/linear-router/index.js"
|
|
|
|
},
|
2022-09-15 02:56:46 +02:00
|
|
|
"./utils/jwt": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/utils/jwt/index.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/utils/jwt/index.js",
|
|
|
|
"require": "./dist/cjs/utils/jwt/index.js"
|
|
|
|
},
|
|
|
|
"./utils/*": {
|
2022-12-27 14:59:23 +01:00
|
|
|
"types": "./dist/types/utils/*.d.ts",
|
2022-09-15 02:56:46 +02:00
|
|
|
"import": "./dist/utils/*.js",
|
|
|
|
"require": "./dist/cjs/utils/*.js"
|
2023-01-17 09:40:54 +01:00
|
|
|
},
|
2023-02-07 23:22:32 +01:00
|
|
|
"./client": {
|
|
|
|
"types": "./dist/types/client/index.d.ts",
|
|
|
|
"import": "./dist/client/index.js",
|
|
|
|
"require": "./dist/cjs/client/index.js"
|
|
|
|
},
|
2023-03-06 13:12:22 +01:00
|
|
|
"./adapter": {
|
2023-08-21 08:22:37 +02:00
|
|
|
"types": "./dist/types/helper/adapter/index.d.ts",
|
|
|
|
"import": "./dist/helper/adapter/index.js",
|
|
|
|
"require": "./dist/cjs/helper/adapter/index.js"
|
2023-03-06 13:12:22 +01:00
|
|
|
},
|
2023-09-11 00:31:30 +02:00
|
|
|
"./factory": {
|
|
|
|
"types": "./dist/types/helper/factory/index.d.ts",
|
|
|
|
"import": "./dist/helper/factory/index.js",
|
|
|
|
"require": "./dist/cjs/helper/factory/index.js"
|
|
|
|
},
|
2023-01-17 09:40:54 +01:00
|
|
|
"./cloudflare-workers": {
|
|
|
|
"types": "./dist/types/adapter/cloudflare-workers/index.d.ts",
|
|
|
|
"import": "./dist/adapter/cloudflare-workers/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/cloudflare-workers/index.js"
|
|
|
|
},
|
|
|
|
"./cloudflare-pages": {
|
|
|
|
"types": "./dist/types/adapter/cloudflare-pages/index.d.ts",
|
|
|
|
"import": "./dist/adapter/cloudflare-pages/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/cloudflare-pages/index.js"
|
|
|
|
},
|
2023-02-12 08:34:06 +01:00
|
|
|
"./deno": {
|
|
|
|
"types": "./dist/types/adapter/deno/index.d.ts",
|
|
|
|
"import": "./dist/adapter/deno/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/deno/index.js"
|
|
|
|
},
|
2023-01-17 09:40:54 +01:00
|
|
|
"./bun": {
|
|
|
|
"types": "./dist/types/adapter/bun/index.d.ts",
|
|
|
|
"import": "./dist/adapter/bun/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/bun/index.js"
|
|
|
|
},
|
|
|
|
"./nextjs": {
|
|
|
|
"types": "./dist/types/adapter/nextjs/index.d.ts",
|
|
|
|
"import": "./dist/adapter/nextjs/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/nextjs/index.js"
|
2023-03-17 08:33:54 +01:00
|
|
|
},
|
|
|
|
"./aws-lambda": {
|
|
|
|
"types": "./dist/types/adapter/aws-lambda/index.d.ts",
|
|
|
|
"import": "./dist/adapter/aws-lambda/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/aws-lambda/index.js"
|
2023-05-09 14:47:37 +02:00
|
|
|
},
|
|
|
|
"./vercel": {
|
|
|
|
"types": "./dist/types/adapter/vercel/index.d.ts",
|
|
|
|
"import": "./dist/adapter/vercel/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/vercel/index.js"
|
2023-07-07 10:41:33 +02:00
|
|
|
},
|
|
|
|
"./lambda-edge": {
|
|
|
|
"types": "./dist/types/adapter/lambda-edge/index.d.ts",
|
|
|
|
"import": "./dist/adapter/lambda-edge/index.js",
|
|
|
|
"require": "./dist/cjs/adapter/lambda-edge/index.js"
|
2023-09-17 02:04:07 +02:00
|
|
|
},
|
|
|
|
"./testing": {
|
|
|
|
"types": "./dist/types/helper/testing/index.d.ts",
|
|
|
|
"import": "./dist/helper/testing/index.js",
|
|
|
|
"require": "./dist/cjs/helper/testing/index.js"
|
2023-11-29 11:22:09 +01:00
|
|
|
},
|
|
|
|
"./dev": {
|
|
|
|
"types": "./dist/types/helper/dev/index.d.ts",
|
|
|
|
"import": "./dist/helper/dev/index.js",
|
|
|
|
"require": "./dist/cjs/helper/dev/index.js"
|
2022-09-15 02:56:46 +02:00
|
|
|
}
|
2022-02-01 14:15:00 +01:00
|
|
|
},
|
2022-11-20 13:37:37 +01:00
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
2023-10-31 10:35:26 +01:00
|
|
|
"types": [
|
|
|
|
"./dist/types/types"
|
|
|
|
],
|
|
|
|
"hono-base": [
|
|
|
|
"./dist/types/hono-base"
|
|
|
|
],
|
2023-04-26 03:15:45 +02:00
|
|
|
"tiny": [
|
2023-05-09 14:56:55 +02:00
|
|
|
"./dist/types/preset/tiny"
|
|
|
|
],
|
|
|
|
"quick": [
|
|
|
|
"./dist/types/preset/quick"
|
2023-04-26 03:15:45 +02:00
|
|
|
],
|
2023-02-11 10:05:50 +01:00
|
|
|
"http-exception": [
|
|
|
|
"./dist/types/http-exception"
|
|
|
|
],
|
2022-11-20 13:37:37 +01:00
|
|
|
"basic-auth": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/basic-auth"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"bearer-auth": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/bearer-auth"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"cache": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/cache"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
2023-05-05 04:08:03 +02:00
|
|
|
"cookie": [
|
2023-08-21 08:22:37 +02:00
|
|
|
"./dist/types/helper/cookie"
|
2023-05-05 04:08:03 +02:00
|
|
|
],
|
2022-11-20 13:37:37 +01:00
|
|
|
"compress": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/compress"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"cors": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/cors"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"etag": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/etag"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"html": [
|
2023-08-21 08:22:37 +02:00
|
|
|
"./dist/types/helper/html"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"jsx": [
|
2023-08-21 08:22:37 +02:00
|
|
|
"./dist/types/jsx"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"jsx/jsx-runtime": [
|
2023-08-21 08:22:37 +02:00
|
|
|
"./dist/types/jsx/jsx-runtime.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"jsx/jsx-dev-runtime": [
|
2023-08-21 08:22:37 +02:00
|
|
|
"./dist/types/jsx/jsx-dev-runtime.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
2023-11-06 23:09:04 +01:00
|
|
|
"jsx/streaming": [
|
|
|
|
"./dist/types/jsx/streaming.d.ts"
|
|
|
|
],
|
2023-10-05 09:57:33 +02:00
|
|
|
"jsx-renderer": [
|
|
|
|
"./dist/types/middleware/jsx-renderer"
|
|
|
|
],
|
2022-11-20 13:37:37 +01:00
|
|
|
"jwt": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/jwt"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
2023-07-03 04:19:49 +02:00
|
|
|
"timing": [
|
|
|
|
"./dist/types/middleware/timing"
|
|
|
|
],
|
2022-11-20 13:37:37 +01:00
|
|
|
"logger": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/logger"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"powered-by": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/powered-by"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"pretty-json": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/middleware/pretty-json"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
2023-10-16 11:13:09 +02:00
|
|
|
"streaming": [
|
|
|
|
"./dist/types/helper/streaming"
|
|
|
|
],
|
2023-08-20 17:24:59 +02:00
|
|
|
"secure-headers": [
|
|
|
|
"./dist/types/middleware/secure-headers"
|
|
|
|
],
|
2022-11-20 13:37:37 +01:00
|
|
|
"validator": [
|
2023-02-10 17:18:27 +01:00
|
|
|
"./dist/types/validator/index.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"router/reg-exp-router": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/router/reg-exp-router/router.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"router/smart-router": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/router/smart-router/router.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"router/trie-router": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/router/trie-router/router.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
2023-05-24 09:05:50 +02:00
|
|
|
"router/pattern-router": [
|
|
|
|
"./dist/types/router/pattern-router/router.d.ts"
|
|
|
|
],
|
|
|
|
"router/linear-router": [
|
|
|
|
"./dist/types/router/linear-router/router.d.ts"
|
|
|
|
],
|
2022-11-20 13:37:37 +01:00
|
|
|
"utils/jwt": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/utils/jwt/index.d.ts"
|
2022-11-20 13:37:37 +01:00
|
|
|
],
|
|
|
|
"utils/*": [
|
2022-12-27 14:59:23 +01:00
|
|
|
"./dist/types/utils/*"
|
2023-01-17 09:40:54 +01:00
|
|
|
],
|
2023-02-07 23:22:32 +01:00
|
|
|
"client": [
|
|
|
|
"./dist/types/client/index.d.ts"
|
|
|
|
],
|
2023-03-06 13:12:22 +01:00
|
|
|
"adapter": [
|
2023-08-21 08:22:37 +02:00
|
|
|
"./dist/types/helper/adapter/index.d.ts"
|
2023-03-06 13:12:22 +01:00
|
|
|
],
|
2023-09-11 00:31:30 +02:00
|
|
|
"factory": [
|
|
|
|
"./dist/types/helper/factory/index.d.ts"
|
|
|
|
],
|
2023-01-17 09:40:54 +01:00
|
|
|
"cloudflare-workers": [
|
|
|
|
"./dist/types/adapter/cloudflare-workers"
|
|
|
|
],
|
|
|
|
"cloudflare-pages": [
|
|
|
|
"./dist/types/adapter/cloudflare-pages"
|
|
|
|
],
|
2023-02-12 08:34:06 +01:00
|
|
|
"deno": [
|
|
|
|
"./dist/types/adapter/deno"
|
|
|
|
],
|
2023-01-17 09:40:54 +01:00
|
|
|
"bun": [
|
|
|
|
"./dist/types/adapter/bun"
|
|
|
|
],
|
|
|
|
"nextjs": [
|
|
|
|
"./dist/types/adapter/nextjs"
|
2023-03-17 08:33:54 +01:00
|
|
|
],
|
|
|
|
"aws-lambda": [
|
|
|
|
"./dist/types/adapter/aws-lambda"
|
2023-05-09 14:47:37 +02:00
|
|
|
],
|
|
|
|
"vercel": [
|
|
|
|
"./dist/types/adapter/vercel"
|
2023-07-07 10:41:33 +02:00
|
|
|
],
|
|
|
|
"lambda-edge": [
|
|
|
|
"./dist/types/adapter/lambda-edge"
|
2023-09-17 02:04:07 +02:00
|
|
|
],
|
|
|
|
"testing": [
|
|
|
|
"./dist/types/helper/testing"
|
2023-11-29 11:22:09 +01:00
|
|
|
],
|
|
|
|
"dev": [
|
|
|
|
"./dist/types/helper/dev"
|
2022-11-20 13:37:37 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2021-12-14 20:26:22 +01:00
|
|
|
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
|
2021-12-14 20:58:45 +01:00
|
|
|
"license": "MIT",
|
2021-12-14 21:26:01 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-04-26 10:15:16 +02:00
|
|
|
"url": "https://github.com/honojs/hono.git"
|
2021-12-14 21:26:01 +01:00
|
|
|
},
|
2022-07-02 08:50:17 +02:00
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org"
|
|
|
|
},
|
2023-02-16 15:18:34 +01:00
|
|
|
"homepage": "https://hono.dev",
|
2022-01-02 14:01:09 +01:00
|
|
|
"keywords": [
|
2022-07-13 12:55:36 +02:00
|
|
|
"hono",
|
2022-01-02 14:01:09 +01:00
|
|
|
"web",
|
|
|
|
"app",
|
|
|
|
"http",
|
|
|
|
"application",
|
|
|
|
"framework",
|
|
|
|
"router",
|
|
|
|
"cloudflare",
|
|
|
|
"workers",
|
|
|
|
"fastly",
|
2022-07-13 12:55:36 +02:00
|
|
|
"compute@edge",
|
|
|
|
"deno",
|
2023-05-14 01:33:34 +02:00
|
|
|
"bun",
|
|
|
|
"lagon",
|
|
|
|
"lambda",
|
|
|
|
"nodejs"
|
2022-01-02 14:01:09 +01:00
|
|
|
],
|
2021-12-14 20:58:45 +01:00
|
|
|
"devDependencies": {
|
2023-12-14 10:10:27 +01:00
|
|
|
"@cloudflare/workers-types": "^4.20231121.0",
|
|
|
|
"@hono/eslint-config": "^0.0.3",
|
|
|
|
"@hono/node-server": "^1.3.3",
|
2022-03-08 11:10:12 +01:00
|
|
|
"@types/crypto-js": "^4.1.1",
|
2022-10-28 01:46:02 +02:00
|
|
|
"@types/glob": "^8.0.0",
|
2023-11-06 23:09:04 +01:00
|
|
|
"@types/jsdom": "^21.1.4",
|
2023-10-03 16:09:16 +02:00
|
|
|
"@types/node": "^20.8.2",
|
2023-02-07 23:22:32 +01:00
|
|
|
"@types/node-fetch": "^2.6.2",
|
2023-01-07 10:50:45 +01:00
|
|
|
"@types/supertest": "^2.0.12",
|
2023-12-18 23:29:30 +01:00
|
|
|
"@vitest/coverage-v8": "^1.0.4",
|
2022-10-28 01:46:02 +02:00
|
|
|
"arg": "^5.0.2",
|
2022-03-08 11:10:12 +01:00
|
|
|
"crypto-js": "^4.1.1",
|
2023-10-13 01:59:27 +02:00
|
|
|
"denoify": "^1.6.6",
|
2022-10-28 01:46:02 +02:00
|
|
|
"esbuild": "^0.15.12",
|
2023-12-13 10:35:30 +01:00
|
|
|
"eslint": "^8.55.0",
|
2022-01-11 18:14:53 +01:00
|
|
|
"form-data": "^4.0.0",
|
2023-11-06 23:09:04 +01:00
|
|
|
"jsdom": "^22.1.0",
|
2023-02-07 23:22:32 +01:00
|
|
|
"msw": "^1.0.0",
|
|
|
|
"node-fetch": "2",
|
2023-05-12 09:19:07 +02:00
|
|
|
"np": "^7.7.0",
|
2022-04-27 08:42:42 +02:00
|
|
|
"prettier": "^2.6.2",
|
2023-01-19 14:32:11 +01:00
|
|
|
"publint": "^0.1.8",
|
2022-01-05 10:41:29 +01:00
|
|
|
"rimraf": "^3.0.2",
|
2022-12-29 06:59:57 +01:00
|
|
|
"start-server-and-test": "^1.15.2",
|
2023-01-07 10:50:45 +01:00
|
|
|
"supertest": "^6.3.3",
|
2022-10-28 01:46:02 +02:00
|
|
|
"tsx": "^3.11.0",
|
2023-12-13 10:35:30 +01:00
|
|
|
"typescript": "^5.3.3",
|
2023-12-17 13:17:18 +01:00
|
|
|
"vite-plugin-fastly-js-compute": "^0.4.2",
|
2023-12-18 23:29:30 +01:00
|
|
|
"vitest": "^1.0.4",
|
2023-12-14 10:10:27 +01:00
|
|
|
"wrangler": "3.17.1",
|
2022-12-28 03:25:48 +01:00
|
|
|
"zod": "^3.20.2"
|
2022-01-07 09:44:08 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-09-14 01:42:04 +02:00
|
|
|
"node": ">=16.0.0"
|
2023-12-13 10:35:30 +01:00
|
|
|
}
|
2023-12-13 11:29:26 +01:00
|
|
|
}
|