mirror of
https://github.com/honojs/hono.git
synced 2024-11-28 17:22:54 +01:00
138 lines
4.0 KiB
JSON
138 lines
4.0 KiB
JSON
{
|
|
"name": "hono",
|
|
"version": "0.5.10",
|
|
"description": "[炎] Ultrafast web framework for Cloudflare Workers.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"lint": "eslint --ext js,ts src .eslintrc.js && prettier --check src",
|
|
"build": "rimraf dist && tsc",
|
|
"watch": "tsc -w",
|
|
"prepublishOnly": "yarn build"
|
|
},
|
|
"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",
|
|
"./etag": "./dist/middleware/etag/etag.js",
|
|
"./graphql-server": "./dist/middleware/graphql-server/graphql-server.js",
|
|
"./logger": "./dist/middleware/logger/logger.js",
|
|
"./mustache": "./dist/middleware/mustache/mustache.js",
|
|
"./powered-by": "./dist/middleware/powered-by/powered-by.js",
|
|
"./pretty-json": "./dist/middleware/pretty-json/pretty-json.js",
|
|
"./serve-static": "./dist/middleware/serve-static/serve-static.js",
|
|
"./router/trie-router": "./dist/router/trie-router/router.js",
|
|
"./router/reg-exp-router": "./dist/router/reg-exp-router/index.js",
|
|
"./utils/cloudflare": "./dist/utils/cloudflare.js",
|
|
"./utils/crypto": "./dist/utils/crypto.js",
|
|
"./utils/mime": "./dist/utils/mime.js"
|
|
},
|
|
"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"
|
|
],
|
|
"etag": [
|
|
"./dist/middleware/etag/etag.d.ts"
|
|
],
|
|
"graphql-server": [
|
|
"./dist/middleware/graphql-server/graphql-server.d.ts"
|
|
],
|
|
"logger": [
|
|
"./dist/middleware/logger/logger.d.ts"
|
|
],
|
|
"mustache": [
|
|
"./dist/middleware/mustache/mustache.d.ts"
|
|
],
|
|
"powered-by": [
|
|
"./dist/middleware/powered-by/powered-by.d.ts"
|
|
],
|
|
"pretty-json": [
|
|
"./dist/middleware/pretty-json/pretty-json.d.ts"
|
|
],
|
|
"serve-static": [
|
|
"./dist/middleware/serve-static/serve-static.d.ts"
|
|
],
|
|
"router/trie-router": [
|
|
"./dist/router/trie-router/router.d.ts"
|
|
],
|
|
"router/reg-exp-router": [
|
|
"./dist/router/reg-exp-router/router.d.ts"
|
|
],
|
|
"utils/cloudflare": [
|
|
"./dist/utils/cloudflare.d.ts"
|
|
],
|
|
"utils/crypto": [
|
|
"./dist/utils/crypto.d.ts"
|
|
],
|
|
"utils/mime": [
|
|
"./dist/utils/mime.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/yusukebe/hono.git"
|
|
},
|
|
"homepage": "https://github.com/yusukebe/hono",
|
|
"keywords": [
|
|
"web",
|
|
"app",
|
|
"http",
|
|
"application",
|
|
"framework",
|
|
"router",
|
|
"cloudflare",
|
|
"workers",
|
|
"fastly",
|
|
"compute@edge"
|
|
],
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^3.3.0",
|
|
"@types/crypto-js": "^4.1.1",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/mustache": "^4.1.2",
|
|
"@types/node": "^17.0.8",
|
|
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
"@typescript-eslint/parser": "^5.9.0",
|
|
"crypto-js": "^4.1.1",
|
|
"eslint": "^7.26.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"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",
|
|
"form-data": "^4.0.0",
|
|
"graphql": "^16.3.0",
|
|
"jest": "^27.4.5",
|
|
"jest-environment-miniflare": "^2.0.0",
|
|
"mustache": "^4.2.0",
|
|
"prettier": "^2.5.1",
|
|
"prettier-plugin-md-nocjsp": "^1.2.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^27.1.2",
|
|
"typescript": "^4.5.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=11.0.0"
|
|
}
|
|
} |