2021-12-14 20:26:22 +01:00
|
|
|
{
|
|
|
|
"name": "hono",
|
2022-06-27 07:09:22 +02:00
|
|
|
"version": "1.5.2",
|
2022-04-22 02:01:51 +02:00
|
|
|
"description": "Ultrafast web framework for Cloudflare Workers.",
|
2022-01-05 10:41:29 +01:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-02-23 01:58:24 +01:00
|
|
|
"scripts": {
|
|
|
|
"test": "jest",
|
2022-04-20 07:17:55 +02:00
|
|
|
"lint": "eslint --ext js,ts src .eslintrc.js",
|
|
|
|
"lint:fix": "eslint --ext js,ts src .eslintrc.js --fix",
|
2022-05-21 14:08:51 +02:00
|
|
|
"build": "rimraf dist && tsc --project tsconfig.build.esm.json && tsc --project tsconfig.build.json",
|
2022-05-17 01:15:12 +02:00
|
|
|
"watch": "tsc --project tsconfig.build.json -w",
|
2022-02-23 01:58:24 +01:00
|
|
|
"prepublishOnly": "yarn build"
|
|
|
|
},
|
2022-02-01 14:15:00 +01:00
|
|
|
"exports": {
|
|
|
|
".": "./dist/index.js",
|
2022-04-22 02:01:51 +02:00
|
|
|
"./basic-auth": "./dist/middleware/basic-auth/index.js",
|
2022-06-06 01:38:33 +02:00
|
|
|
"./bearer-auth": "./dist/middleware/bearer-auth/index.js",
|
2022-04-22 02:01:51 +02:00
|
|
|
"./body-parse": "./dist/middleware/body-parse/index.js",
|
|
|
|
"./cookie": "./dist/middleware/cookie/index.js",
|
|
|
|
"./cors": "./dist/middleware/cors/index.js",
|
|
|
|
"./etag": "./dist/middleware/etag/index.js",
|
|
|
|
"./graphql-server": "./dist/middleware/graphql-server/index.js",
|
2022-06-13 03:06:37 +02:00
|
|
|
"./html": "./dist/middleware/html/index.js",
|
2022-06-07 12:03:42 +02:00
|
|
|
"./jsx": "./dist/middleware/jsx/index.js",
|
2022-04-27 01:59:27 +02:00
|
|
|
"./jwt": "./dist/middleware/jwt/index.js",
|
2022-04-22 02:01:51 +02:00
|
|
|
"./logger": "./dist/middleware/logger/index.js",
|
|
|
|
"./mustache": "./dist/middleware/mustache/index.js",
|
2022-05-19 04:24:47 +02:00
|
|
|
"./mustache.module": "./dist/middleware/mustache/module.mjs",
|
2022-04-22 02:01:51 +02:00
|
|
|
"./powered-by": "./dist/middleware/powered-by/index.js",
|
|
|
|
"./pretty-json": "./dist/middleware/pretty-json/index.js",
|
|
|
|
"./serve-static": "./dist/middleware/serve-static/index.js",
|
2022-05-19 02:29:09 +02:00
|
|
|
"./serve-static.module": "./dist/middleware/serve-static/module.mjs",
|
2022-04-22 02:01:51 +02:00
|
|
|
"./router/trie-router": "./dist/router/trie-router/index.js",
|
|
|
|
"./router/reg-exp-router": "./dist/router/reg-exp-router/index.js",
|
2022-04-30 11:51:27 +02:00
|
|
|
"./utils/jwt": "./dist/utils/jwt/index.js",
|
2022-04-20 07:06:04 +02:00
|
|
|
"./utils/*": "./dist/utils/*.js"
|
2022-02-01 14:15:00 +01:00
|
|
|
},
|
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"basic-auth": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/basic-auth"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
2022-06-06 01:38:33 +02:00
|
|
|
"bearer-auth": [
|
|
|
|
"./dist/middleware/bearer-auth"
|
|
|
|
],
|
2022-02-01 14:15:00 +01:00
|
|
|
"body-parse": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/body-parse"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
|
|
|
"cookie": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/cookie"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
|
|
|
"cors": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/cors"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
2022-03-16 10:41:31 +01:00
|
|
|
"etag": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/etag"
|
2022-03-16 10:41:31 +01:00
|
|
|
],
|
2022-03-27 13:52:09 +02:00
|
|
|
"graphql-server": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/graphql-server"
|
2022-03-27 13:52:09 +02:00
|
|
|
],
|
2022-06-13 03:06:37 +02:00
|
|
|
"html": [
|
|
|
|
"./dist/middleware/html"
|
|
|
|
],
|
2022-06-07 12:03:42 +02:00
|
|
|
"jsx": [
|
|
|
|
"./dist/middleware/jsx"
|
|
|
|
],
|
2022-04-27 01:59:27 +02:00
|
|
|
"jwt": [
|
|
|
|
"./dist/middleware/jwt"
|
|
|
|
],
|
2022-02-01 14:15:00 +01:00
|
|
|
"logger": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/logger"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
|
|
|
"mustache": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/mustache"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
2022-05-19 04:24:47 +02:00
|
|
|
"mustache.module": [
|
|
|
|
"./dist/middleware/mustache/module.d.mts"
|
|
|
|
],
|
2022-02-01 14:15:00 +01:00
|
|
|
"powered-by": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/powered-by"
|
2022-02-01 14:15:00 +01:00
|
|
|
],
|
2022-04-02 08:25:32 +02:00
|
|
|
"pretty-json": [
|
2022-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/pretty-json"
|
2022-04-02 08:25:32 +02:00
|
|
|
],
|
2022-02-01 14:15:00 +01:00
|
|
|
"serve-static": [
|
2022-05-19 02:29:09 +02:00
|
|
|
"./dist/middleware/serve-static/index.d.ts"
|
|
|
|
],
|
|
|
|
"serve-static.module": [
|
2022-05-19 04:24:47 +02:00
|
|
|
"./dist/middleware/serve-static/module.d.mts"
|
2022-02-23 01:58:24 +01:00
|
|
|
],
|
2022-03-16 10:37:19 +01:00
|
|
|
"router/trie-router": [
|
|
|
|
"./dist/router/trie-router/router.d.ts"
|
|
|
|
],
|
2022-02-23 01:58:24 +01:00
|
|
|
"router/reg-exp-router": [
|
|
|
|
"./dist/router/reg-exp-router/router.d.ts"
|
2022-03-29 07:49:14 +02:00
|
|
|
],
|
2022-04-30 11:51:27 +02:00
|
|
|
"utils/jwt": [
|
|
|
|
"./dist/utils/jwt/index.d.ts"
|
|
|
|
],
|
2022-04-20 07:06:04 +02:00
|
|
|
"utils/*": [
|
|
|
|
"./dist/utils/*"
|
2022-02-01 14:15:00 +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-04-26 10:15:16 +02:00
|
|
|
"homepage": "https://github.com/honojs/hono",
|
2022-01-02 14:01:09 +01:00
|
|
|
"keywords": [
|
|
|
|
"web",
|
|
|
|
"app",
|
|
|
|
"http",
|
|
|
|
"application",
|
|
|
|
"framework",
|
|
|
|
"router",
|
|
|
|
"cloudflare",
|
|
|
|
"workers",
|
|
|
|
"fastly",
|
|
|
|
"compute@edge"
|
|
|
|
],
|
2021-12-14 20:58:45 +01:00
|
|
|
"devDependencies": {
|
2022-04-27 08:42:42 +02:00
|
|
|
"@cloudflare/workers-types": "^3.7.1",
|
2022-03-08 11:10:12 +01:00
|
|
|
"@types/crypto-js": "^4.1.1",
|
2022-04-27 08:42:42 +02:00
|
|
|
"@types/jest": "^27.4.1",
|
2022-01-29 01:09:37 +01:00
|
|
|
"@types/mustache": "^4.1.2",
|
2022-04-27 08:42:42 +02:00
|
|
|
"@types/node": "^17.0.29",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
|
|
"@typescript-eslint/parser": "^5.21.0",
|
2022-03-08 11:10:12 +01:00
|
|
|
"crypto-js": "^4.1.1",
|
2022-04-27 08:42:42 +02:00
|
|
|
"eslint": "^8.14.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-define-config": "^1.4.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.7.1",
|
2022-01-06 23:03:54 +01:00
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
2022-04-27 08:42:42 +02:00
|
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-01-06 23:03:54 +01:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2022-01-11 18:14:53 +01:00
|
|
|
"form-data": "^4.0.0",
|
2022-04-27 08:42:42 +02:00
|
|
|
"graphql": "^16.4.0",
|
|
|
|
"jest": "27.5.1",
|
2022-06-23 16:20:56 +02:00
|
|
|
"jest-environment-miniflare": "^2.5.1",
|
2022-01-29 01:09:37 +01:00
|
|
|
"mustache": "^4.2.0",
|
2022-04-27 08:42:42 +02:00
|
|
|
"prettier": "^2.6.2",
|
2022-03-09 08:03:58 +01:00
|
|
|
"prettier-plugin-md-nocjsp": "^1.2.0",
|
2022-01-05 10:41:29 +01:00
|
|
|
"rimraf": "^3.0.2",
|
2022-04-27 08:42:42 +02:00
|
|
|
"ts-jest": "^27.1.4",
|
|
|
|
"typescript": "^4.6.3"
|
2022-01-07 09:44:08 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=11.0.0"
|
2021-12-14 20:58:45 +01:00
|
|
|
}
|
2022-06-27 07:09:22 +02:00
|
|
|
}
|