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

169 lines
5.0 KiB
JSON
Raw Normal View History

2021-12-14 20:26:22 +01:00
{
"name": "hono",
2022-08-27 08:40:52 +02:00
"version": "2.1.0",
2022-04-22 02:01:51 +02:00
"description": "Ultrafast web framework for Cloudflare Workers.",
"main": "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.js",
"lint:fix": "eslint --ext js,ts src .eslintrc.js --fix",
"denoify": "rimraf deno_dist && denoify && rimraf 'deno_dist/**/*.test.ts'",
2022-07-02 08:52:11 +02:00
"build": "rimraf dist && tsc --project tsconfig.build.esm.json && tsc --project tsconfig.build.json",
"watch": "tsc --project tsconfig.build.json -w",
"prerelease": "yarn denoify && yarn test:deno && yarn build",
2022-07-02 08:52:11 +02:00
"release": "np"
},
"exports": {
".": "./dist/index.js",
2022-04-22 02:01:51 +02:00
"./basic-auth": "./dist/middleware/basic-auth/index.js",
"./bearer-auth": "./dist/middleware/bearer-auth/index.js",
"./cache": "./dist/middleware/cache/index.js",
"./compress": "./dist/middleware/compress/index.js",
2022-04-22 02:01:51 +02:00
"./cors": "./dist/middleware/cors/index.js",
"./etag": "./dist/middleware/etag/index.js",
"./html": "./dist/middleware/html/index.js",
2022-06-07 12:03:42 +02:00
"./jsx": "./dist/middleware/jsx/index.js",
"./jsx/jsx-dev-runtime": "./dist/middleware/jsx/jsx-dev-runtime.js",
"./jsx/jsx-runtime": "./dist/middleware/jsx/jsx-runtime.js",
2022-04-27 01:59:27 +02:00
"./jwt": "./dist/middleware/jwt/index.js",
2022-04-22 02:01:51 +02:00
"./logger": "./dist/middleware/logger/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",
"./serve-static.bun": "./dist/middleware/serve-static/bun.js",
"./serve-static.module": "./dist/middleware/serve-static/module.mjs",
2022-04-22 02:01:51 +02:00
"./router/trie-router": "./dist/router/trie-router/index.js",
"./router/reg-exp-router": "./dist/router/reg-exp-router/index.js",
2022-04-30 11:51:27 +02:00
"./utils/jwt": "./dist/utils/jwt/index.js",
"./utils/*": "./dist/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"
],
2022-03-16 10:41:31 +01:00
"etag": [
"./dist/middleware/etag"
2022-03-16 10:41:31 +01:00
],
"html": [
"./dist/middleware/html"
],
2022-06-07 12:03:42 +02:00
"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"
],
2022-04-27 01:59:27 +02:00
"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.mts"
],
"router/trie-router": [
"./dist/router/trie-router/router.d.ts"
],
"router/reg-exp-router": [
"./dist/router/reg-exp-router/router.d.ts"
2022-03-29 07:49:14 +02:00
],
2022-04-30 11:51:27 +02:00
"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://github.com/honojs/hono",
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": {
2022-04-27 08:42:42 +02:00
"@cloudflare/workers-types": "^3.7.1",
"@types/crypto-js": "^4.1.1",
2022-04-27 08:42:42 +02:00
"@types/jest": "^27.4.1",
"@types/node": "^17.0.29",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"crypto-js": "^4.1.1",
2022-07-02 08:09:45 +02:00
"denoify": "^0.11.1",
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-04-27 08:42:42 +02:00
"jest": "27.5.1",
"jest-environment-miniflare": "^2.7.0",
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-04-27 08:42:42 +02:00
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"engines": {
"node": ">=11.0.0"
2021-12-14 20:58:45 +01:00
}
2022-07-24 11:13:07 +02:00
}