0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
hono/package.json

285 lines
8.9 KiB
JSON
Raw Normal View History

2021-12-14 20:26:22 +01:00
{
"name": "hono",
2022-11-20 13:39:33 +01:00
"version": "2.5.4",
"description": "Ultrafast web framework for Cloudflare Workers, Deno, and Bun.",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest",
"test:deno": "deno test --allow-read deno_test",
"test:bun": "bun wiptest --jsx-import-source ../src/middleware/jsx/jsx-dev-runtime bun_test/index.test.tsx",
"test:all": "yarn test && yarn test:deno && yarn test:bun",
"lint": "eslint --ext js,ts src .eslintrc.cjs",
"lint:fix": "eslint --ext js,ts src .eslintrc.cjs --fix",
"denoify": "rimraf deno_dist && denoify && rimraf 'deno_dist/**/*.test.ts'",
"copy:package.cjs.json": "cp ./package.cjs.json ./dist/cjs/package.json",
"build": "rimraf dist && tsx ./build.ts && yarn copy:package.cjs.json",
"watch": "rimraf dist && tsx ./build.ts --watch && yarn copy:package.cjs.json",
"prerelease": "yarn denoify && yarn test:deno && yarn build",
2022-07-02 08:52:11 +02:00
"release": "np"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js"
},
"./basic-auth": {
"types": "./dist/middleware/basic-auth/index.d.ts",
"import": "./dist/middleware/basic-auth/index.js",
"require": "./dist/cjs/middleware/basic-auth/index.js"
},
"./bearer-auth": {
"types": "./dist/middleware/bearer-auth/index.d.ts",
"import": "./dist/middleware/bearer-auth/index.js",
"require": "./dist/cjs/middleware/bearer-auth/index.js"
},
"./cache": {
"types": "./dist/middleware/cache/index.d.ts",
"import": "./dist/middleware/cache/index.js",
"require": "./dist/cjs/middleware/cache/index.js"
},
"./compress": {
"types": "./dist/middleware/compress/index.d.ts",
"import": "./dist/middleware/compress/index.js",
"require": "./dist/cjs/middleware/compress/index.js"
},
"./cors": {
"types": "./dist/middleware/cors/index.d.ts",
"import": "./dist/middleware/cors/index.js",
"require": "./dist/cjs/middleware/cors/index.js"
},
"./etag": {
"types": "./dist/middleware/etag/index.d.ts",
"import": "./dist/middleware/etag/index.js",
"require": "./dist/cjs/middleware/etag/index.js"
},
"./html": {
"types": "./dist/middleware/html/index.d.ts",
"import": "./dist/middleware/html/index.js",
"require": "./dist/cjs/middleware/html/index.js"
},
"./jsx": {
"types": "./dist/middleware/jsx/index.d.ts",
"import": "./dist/middleware/jsx/index.js",
"require": "./dist/cjs/middleware/jsx/index.js"
},
"./jsx/jsx-dev-runtime": {
"types": "./dist/middleware/jsx/jsx-dev-runtime.d.ts",
"import": "./dist/middleware/jsx/jsx-dev-runtime.js",
"require": "./dist/cjs/middleware/jsx/jsx-dev-runtime.js"
},
"./jsx/jsx-runtime": {
"types": "./dist/middleware/jsx/jsx-runtime.d.ts",
"import": "./dist/middleware/jsx/jsx-runtime.js",
"require": "./dist/cjs/middleware/jsx/jsx-runtime.js"
},
"./jwt": {
"types": "./dist/middleware/jwt/index.d.ts",
"import": "./dist/middleware/jwt/index.js",
"require": "./dist/cjs/middleware/jwt/index.js"
},
"./logger": {
"types": "./dist/middleware/logger/index.d.ts",
"import": "./dist/middleware/logger/index.js",
"require": "./dist/cjs/middleware/logger/index.js"
},
"./powered-by": {
"types": "./dist/middleware/powered-by/index.d.ts",
"import": "./dist/middleware/powered-by/index.js",
"require": "./dist/cjs/middleware/powered-by/index.js"
},
"./pretty-json": {
"types": "./dist/middleware/pretty-json/index.d.ts",
"import": "./dist/middleware/pretty-json/index.js",
"require": "./dist/cjs/middleware/pretty-json/index.js"
},
"./serve-static": {
"types": "./dist/middleware/serve-static/index.d.ts",
"import": "./dist/middleware/serve-static/index.js",
"require": "./dist/cjs/middleware/serve-static/index.js"
},
"./serve-static.bun": {
"types": "./dist/middleware/serve-static/bun.d.ts",
"import": "./dist/middleware/serve-static/bun.js",
"require": "./dist/cjs/middleware/serve-static/bun.js"
},
"./serve-static.module": {
"types": "./dist/middleware/serve-static/module.d.ts",
"import": "./dist/middleware/serve-static/module.js"
},
"./validator": {
"types": "./dist/middleware/validator/index.d.ts",
"import": "./dist/middleware/validator/index.js",
"require": "./dist/cjs/middleware/validator/index.js"
},
"./router/reg-exp-router": {
"types": "./dist/router/reg-exp-router/index.d.ts",
"import": "./dist/router/reg-exp-router/index.js",
"require": "./dist/cjs/router/reg-exp-router/index.js"
},
"./router/smart-router": {
"types": "./dist/router/smart-router/index.d.ts",
"import": "./dist/router/smart-router/index.js",
"require": "./dist/cjs/router/smart-router/index.js"
},
"./router/static-router": {
"import": "./dist/router/static-router/index.js",
"require": "./dist/cjs/router/static-router/index.js"
},
"./router/trie-router": {
"types": "./dist/router/trie-router/index.d.ts",
"import": "./dist/router/trie-router/index.js",
"require": "./dist/cjs/router/trie-router/index.js"
},
"./utils/jwt": {
"types": "./dist/utils/jwt/index.d.ts",
"import": "./dist/utils/jwt/index.js",
"require": "./dist/cjs/utils/jwt/index.js"
},
"./utils/*": {
"types": "./dist/utils/*.d.ts",
"import": "./dist/utils/*.js",
"require": "./dist/cjs/utils/*.js"
}
},
"typesVersions": {
"*": {
"basic-auth": [
"./dist/middleware/basic-auth"
],
"bearer-auth": [
"./dist/middleware/bearer-auth"
],
"cache": [
"./dist/middleware/cache"
],
"compress": [
"./dist/middleware/compress"
],
"cors": [
"./dist/middleware/cors"
],
"etag": [
"./dist/middleware/etag"
],
"html": [
"./dist/middleware/html"
],
"jsx": [
"./dist/middleware/jsx"
],
"jsx/jsx-runtime": [
"./dist/middleware/jsx/jsx-runtime.d.ts"
],
"jsx/jsx-dev-runtime": [
"./dist/middleware/jsx/jsx-dev-runtime.d.ts"
],
"jwt": [
"./dist/middleware/jwt"
],
"logger": [
"./dist/middleware/logger"
],
"powered-by": [
"./dist/middleware/powered-by"
],
"pretty-json": [
"./dist/middleware/pretty-json"
],
"serve-static": [
"./dist/middleware/serve-static/index.d.ts"
],
"serve-static.bun": [
"./dist/middleware/serve-static/bun.d.ts"
],
"serve-static.module": [
"./dist/middleware/serve-static/module.d.ts"
],
"validator": [
"./dist/middleware/validator"
],
"router/reg-exp-router": [
"./dist/router/reg-exp-router/router.d.ts"
],
"router/smart-router": [
"./dist/router/smart-router/router.d.ts"
],
"router/static-router": [
"./dist/router/static-router/router.d.ts"
],
"router/trie-router": [
"./dist/router/trie-router/router.d.ts"
],
"utils/jwt": [
"./dist/utils/jwt/index.d.ts"
],
"utils/*": [
"./dist/utils/*"
]
}
},
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/honojs/hono.git"
2021-12-14 21:26:01 +01:00
},
2022-07-02 08:50:17 +02:00
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"homepage": "https://honojs.dev",
2022-01-02 14:01:09 +01:00
"keywords": [
2022-07-13 12:55:36 +02:00
"hono",
2022-01-02 14:01:09 +01:00
"web",
"app",
"http",
"application",
"framework",
"router",
"cloudflare",
"workers",
"fastly",
2022-07-13 12:55:36 +02:00
"compute@edge",
"deno",
"bun"
2022-01-02 14:01:09 +01:00
],
2021-12-14 20:58:45 +01:00
"devDependencies": {
"@cloudflare/workers-types": "^4.20221111.1",
"@types/crypto-js": "^4.1.1",
"@types/glob": "^8.0.0",
2022-09-14 01:42:04 +02:00
"@types/jest": "^29.0.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",
"arg": "^5.0.2",
"crypto-js": "^4.1.1",
2022-09-14 01:42:04 +02:00
"denoify": "^1.1.1",
"esbuild": "^0.15.12",
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",
"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",
"eslint-plugin-node": "^11.1.0",
"form-data": "^4.0.0",
2022-09-14 01:42:04 +02:00
"jest": "^29.0.3",
"jest-environment-miniflare": "2.7.1",
2022-07-02 08:50:17 +02:00
"np": "^7.6.2",
2022-04-27 08:42:42 +02:00
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
2022-09-14 01:42:04 +02:00
"ts-jest": "^29.0.1",
"tsx": "^3.11.0",
2022-09-14 01:42:04 +02:00
"typescript": "^4.8.3"
},
"engines": {
2022-09-14 01:42:04 +02:00
"node": ">=16.0.0"
2021-12-14 20:58:45 +01:00
}
}