2021-12-14 20:26:22 +01:00
|
|
|
{
|
|
|
|
"name": "hono",
|
2022-04-02 07:34:40 +02:00
|
|
|
"version": "0.5.9",
|
2022-01-16 13:56:33 +01: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",
|
|
|
|
"lint": "eslint --ext js,ts src .eslintrc.js && prettier --check src",
|
|
|
|
"build": "rimraf dist && tsc",
|
|
|
|
"watch": "tsc -w",
|
|
|
|
"prepublishOnly": "yarn build"
|
|
|
|
},
|
2022-02-01 14:15:00 +01:00
|
|
|
"exports": {
|
|
|
|
".": "./dist/index.js",
|
|
|
|
"./basic-auth": "./dist/middleware/basic-auth/basic-auth.js",
|
|
|
|
"./body-parse": "./dist/middleware/body-parse/body-parse.js",
|
|
|
|
"./cookie": "./dist/middleware/cookie/cookie.js",
|
|
|
|
"./cors": "./dist/middleware/cors/cors.js",
|
2022-03-16 10:41:31 +01:00
|
|
|
"./etag": "./dist/middleware/etag/etag.js",
|
2022-03-27 13:52:09 +02:00
|
|
|
"./graphql-server": "./dist/middleware/graphql-server/graphql-server.js",
|
2022-02-01 14:15:00 +01:00
|
|
|
"./logger": "./dist/middleware/logger/logger.js",
|
|
|
|
"./mustache": "./dist/middleware/mustache/mustache.js",
|
|
|
|
"./powered-by": "./dist/middleware/powered-by/powered-by.js",
|
2022-04-02 08:25:32 +02:00
|
|
|
"./pretty-json": "./dist/middleware/pretty-json/pretty-json.js",
|
2022-02-07 21:53:56 +01:00
|
|
|
"./serve-static": "./dist/middleware/serve-static/serve-static.js",
|
2022-03-16 10:37:19 +01:00
|
|
|
"./router/trie-router": "./dist/router/trie-router/router.js",
|
2022-03-29 07:49:14 +02:00
|
|
|
"./router/reg-exp-router": "./dist/router/reg-exp-router/index.js",
|
|
|
|
"./utils/cloudflare": "./dist/utils/cloudflare.js",
|
2022-03-30 03:03:02 +02:00
|
|
|
"./utils/crypto": "./dist/utils/crypto.js",
|
2022-03-29 07:49:14 +02:00
|
|
|
"./utils/mime": "./dist/utils/mime.js"
|
2022-02-01 14:15:00 +01:00
|
|
|
},
|
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"basic-auth": [
|
|
|
|
"./dist/middleware/basic-auth/basic-auth.d.ts"
|
|
|
|
],
|
|
|
|
"body-parse": [
|
|
|
|
"./dist/middleware/body-parse/body-parse.d.ts"
|
|
|
|
],
|
|
|
|
"cookie": [
|
|
|
|
"./dist/middleware/cookie/cookie.d.ts"
|
|
|
|
],
|
|
|
|
"cors": [
|
|
|
|
"./dist/middleware/cors/cors.d.ts"
|
|
|
|
],
|
2022-03-16 10:41:31 +01:00
|
|
|
"etag": [
|
|
|
|
"./dist/middleware/etag/etag.d.ts"
|
|
|
|
],
|
2022-03-27 13:52:09 +02:00
|
|
|
"graphql-server": [
|
|
|
|
"./dist/middleware/graphql-server/graphql-server.d.ts"
|
|
|
|
],
|
2022-02-01 14:15:00 +01:00
|
|
|
"logger": [
|
|
|
|
"./dist/middleware/logger/logger.d.ts"
|
|
|
|
],
|
|
|
|
"mustache": [
|
|
|
|
"./dist/middleware/mustache/mustache.d.ts"
|
|
|
|
],
|
|
|
|
"powered-by": [
|
|
|
|
"./dist/middleware/powered-by/powered-by.d.ts"
|
|
|
|
],
|
2022-04-02 08:25:32 +02:00
|
|
|
"pretty-json": [
|
|
|
|
"./dist/middleware/pretty-json/pretty-json.d.ts"
|
|
|
|
],
|
2022-02-01 14:15:00 +01:00
|
|
|
"serve-static": [
|
|
|
|
"./dist/middleware/serve-static/serve-static.d.ts"
|
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
|
|
|
],
|
|
|
|
"utils/cloudflare": [
|
|
|
|
"./dist/utils/cloudflare.d.ts"
|
|
|
|
],
|
2022-03-30 03:03:02 +02:00
|
|
|
"utils/crypto": [
|
|
|
|
"./dist/utils/crypto.d.ts"
|
|
|
|
],
|
2022-03-29 07:49:14 +02:00
|
|
|
"utils/mime": [
|
|
|
|
"./dist/utils/mime.d.ts"
|
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",
|
|
|
|
"url": "https://github.com/yusukebe/hono.git"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/yusukebe/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-01-05 10:41:29 +01:00
|
|
|
"@cloudflare/workers-types": "^3.3.0",
|
2022-03-08 11:10:12 +01:00
|
|
|
"@types/crypto-js": "^4.1.1",
|
2022-01-05 10:41:29 +01:00
|
|
|
"@types/jest": "^27.4.0",
|
2022-01-29 01:09:37 +01:00
|
|
|
"@types/mustache": "^4.1.2",
|
2022-01-07 09:44:08 +01:00
|
|
|
"@types/node": "^17.0.8",
|
2022-01-06 23:03:54 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
2022-01-11 18:14:53 +01:00
|
|
|
"@typescript-eslint/parser": "^5.9.0",
|
2022-03-08 11:10:12 +01:00
|
|
|
"crypto-js": "^4.1.1",
|
2022-01-06 23:03:54 +01:00
|
|
|
"eslint": "^7.26.0",
|
2022-02-17 13:24:08 +01:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2022-01-06 23:03:54 +01:00
|
|
|
"eslint-define-config": "^1.2.1",
|
|
|
|
"eslint-import-resolver-typescript": "^2.0.0",
|
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
|
|
"eslint-plugin-flowtype": "^5.7.2",
|
|
|
|
"eslint-plugin-import": "^2.20.2",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2022-01-11 18:14:53 +01:00
|
|
|
"form-data": "^4.0.0",
|
2022-03-27 13:27:52 +02:00
|
|
|
"graphql": "^16.3.0",
|
2022-01-05 10:41:29 +01:00
|
|
|
"jest": "^27.4.5",
|
2022-01-11 18:14:53 +01:00
|
|
|
"jest-environment-miniflare": "^2.0.0",
|
2022-01-29 01:09:37 +01:00
|
|
|
"mustache": "^4.2.0",
|
2022-02-17 13:24:08 +01:00
|
|
|
"prettier": "^2.5.1",
|
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",
|
|
|
|
"ts-jest": "^27.1.2",
|
2022-02-01 14:15:00 +01:00
|
|
|
"typescript": "^4.5.5"
|
2022-01-07 09:44:08 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=11.0.0"
|
2021-12-14 20:58:45 +01:00
|
|
|
}
|
2022-03-10 07:45:13 +01:00
|
|
|
}
|