2021-12-14 20:26:22 +01:00
|
|
|
{
|
|
|
|
"name": "hono",
|
2022-04-22 02:21:19 +02:00
|
|
|
"version": "1.0.0",
|
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-04-20 07:06:04 +02:00
|
|
|
"build": "rimraf dist && tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
|
|
"watch": "tsc -w --project tsconfig.build.json & tsc-alias -w -p tsconfig.build.json",
|
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",
|
|
|
|
"./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",
|
|
|
|
"./logger": "./dist/middleware/logger/index.js",
|
|
|
|
"./mustache": "./dist/middleware/mustache/index.js",
|
|
|
|
"./powered-by": "./dist/middleware/powered-by/index.js",
|
|
|
|
"./pretty-json": "./dist/middleware/pretty-json/index.js",
|
|
|
|
"./serve-static": "./dist/middleware/serve-static/index.js",
|
|
|
|
"./router/trie-router": "./dist/router/trie-router/index.js",
|
|
|
|
"./router/reg-exp-router": "./dist/router/reg-exp-router/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
|
|
|
],
|
|
|
|
"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-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
|
|
|
],
|
|
|
|
"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-04-20 07:06:04 +02:00
|
|
|
"./dist/middleware/serve-static"
|
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-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",
|
|
|
|
"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-04-20 07:06:04 +02:00
|
|
|
"tsc-alias": "^1.6.6",
|
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
|
|
|
}
|