mirror of
https://github.com/honojs/hono.git
synced 2024-11-25 13:19:30 +01:00
140 lines
3.8 KiB
JSON
140 lines
3.8 KiB
JSON
{
|
|
"name": "hono",
|
|
"version": "1.2.1",
|
|
"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",
|
|
"lint:fix": "eslint --ext js,ts src .eslintrc.js --fix",
|
|
"build": "rimraf dist && tsc",
|
|
"watch": "tsc -w",
|
|
"prepublishOnly": "yarn build"
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./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",
|
|
"./jwt": "./dist/middleware/jwt/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",
|
|
"./utils/jwt": "./dist/utils/jwt/index.js",
|
|
"./utils/*": "./dist/utils/*.js"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"basic-auth": [
|
|
"./dist/middleware/basic-auth"
|
|
],
|
|
"body-parse": [
|
|
"./dist/middleware/body-parse"
|
|
],
|
|
"cookie": [
|
|
"./dist/middleware/cookie"
|
|
],
|
|
"cors": [
|
|
"./dist/middleware/cors"
|
|
],
|
|
"etag": [
|
|
"./dist/middleware/etag"
|
|
],
|
|
"graphql-server": [
|
|
"./dist/middleware/graphql-server"
|
|
],
|
|
"jwt": [
|
|
"./dist/middleware/jwt"
|
|
],
|
|
"logger": [
|
|
"./dist/middleware/logger"
|
|
],
|
|
"mustache": [
|
|
"./dist/middleware/mustache"
|
|
],
|
|
"powered-by": [
|
|
"./dist/middleware/powered-by"
|
|
],
|
|
"pretty-json": [
|
|
"./dist/middleware/pretty-json"
|
|
],
|
|
"serve-static": [
|
|
"./dist/middleware/serve-static"
|
|
],
|
|
"router/trie-router": [
|
|
"./dist/router/trie-router/router.d.ts"
|
|
],
|
|
"router/reg-exp-router": [
|
|
"./dist/router/reg-exp-router/router.d.ts"
|
|
],
|
|
"utils/jwt": [
|
|
"./dist/utils/jwt/index.d.ts"
|
|
],
|
|
"utils/*": [
|
|
"./dist/utils/*"
|
|
]
|
|
}
|
|
},
|
|
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/honojs/hono.git"
|
|
},
|
|
"homepage": "https://github.com/honojs/hono",
|
|
"keywords": [
|
|
"web",
|
|
"app",
|
|
"http",
|
|
"application",
|
|
"framework",
|
|
"router",
|
|
"cloudflare",
|
|
"workers",
|
|
"fastly",
|
|
"compute@edge"
|
|
],
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^3.7.1",
|
|
"@types/crypto-js": "^4.1.1",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/mustache": "^4.1.2",
|
|
"@types/node": "^17.0.29",
|
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
"@typescript-eslint/parser": "^5.21.0",
|
|
"crypto-js": "^4.1.1",
|
|
"eslint": "^8.14.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-define-config": "^1.4.0",
|
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"form-data": "^4.0.0",
|
|
"graphql": "^16.4.0",
|
|
"jest": "27.5.1",
|
|
"jest-environment-miniflare": "^2.4.0",
|
|
"mustache": "^4.2.0",
|
|
"prettier": "^2.6.2",
|
|
"prettier-plugin-md-nocjsp": "^1.2.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^27.1.4",
|
|
"typescript": "^4.6.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=11.0.0"
|
|
}
|
|
}
|