package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "@hono/node-server",
  3. "version": "1.19.13",
  4. "description": "Node.js Adapter for Hono",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "files": [
  8. "dist"
  9. ],
  10. "exports": {
  11. ".": {
  12. "types": "./dist/index.d.ts",
  13. "require": "./dist/index.js",
  14. "import": "./dist/index.mjs"
  15. },
  16. "./serve-static": {
  17. "types": "./dist/serve-static.d.ts",
  18. "require": "./dist/serve-static.js",
  19. "import": "./dist/serve-static.mjs"
  20. },
  21. "./vercel": {
  22. "types": "./dist/vercel.d.ts",
  23. "require": "./dist/vercel.js",
  24. "import": "./dist/vercel.mjs"
  25. },
  26. "./utils/*": {
  27. "types": "./dist/utils/*.d.ts",
  28. "require": "./dist/utils/*.js",
  29. "import": "./dist/utils/*.mjs"
  30. },
  31. "./conninfo": {
  32. "types": "./dist/conninfo.d.ts",
  33. "require": "./dist/conninfo.js",
  34. "import": "./dist/conninfo.mjs"
  35. }
  36. },
  37. "typesVersions": {
  38. "*": {
  39. ".": [
  40. "./dist/index.d.ts"
  41. ],
  42. "serve-static": [
  43. "./dist/serve-static.d.ts"
  44. ],
  45. "vercel": [
  46. "./dist/vercel.d.ts"
  47. ],
  48. "utils/*": [
  49. "./dist/utils/*.d.ts"
  50. ],
  51. "conninfo": [
  52. "./dist/conninfo.d.ts"
  53. ]
  54. }
  55. },
  56. "scripts": {
  57. "test": "node --expose-gc node_modules/jest/bin/jest.js",
  58. "build": "tsup --external hono",
  59. "watch": "tsup --watch",
  60. "postbuild": "publint",
  61. "prerelease": "bun run build && bun run test",
  62. "release": "np",
  63. "lint": "eslint src test",
  64. "lint:fix": "eslint src test --fix",
  65. "format": "prettier --check \"src/**/*.{js,ts}\" \"test/**/*.{js,ts}\"",
  66. "format:fix": "prettier --write \"src/**/*.{js,ts}\" \"test/**/*.{js,ts}\""
  67. },
  68. "license": "MIT",
  69. "repository": {
  70. "type": "git",
  71. "url": "https://github.com/honojs/node-server.git"
  72. },
  73. "homepage": "https://github.com/honojs/node-server",
  74. "author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
  75. "publishConfig": {
  76. "registry": "https://registry.npmjs.org",
  77. "access": "public"
  78. },
  79. "engines": {
  80. "node": ">=18.14.1"
  81. },
  82. "devDependencies": {
  83. "@hono/eslint-config": "^1.0.1",
  84. "@types/jest": "^29.5.3",
  85. "@types/node": "^20.10.0",
  86. "@types/supertest": "^2.0.12",
  87. "@whatwg-node/fetch": "^0.9.14",
  88. "eslint": "^9.10.0",
  89. "hono": "^4.4.10",
  90. "jest": "^29.6.1",
  91. "np": "^7.7.0",
  92. "prettier": "^3.2.4",
  93. "publint": "^0.1.16",
  94. "supertest": "^6.3.3",
  95. "ts-jest": "^29.1.1",
  96. "tsup": "^7.2.0",
  97. "typescript": "^5.3.2"
  98. },
  99. "peerDependencies": {
  100. "hono": "^4"
  101. },
  102. "packageManager": "bun@1.2.20"
  103. }