honojs-middleware/packages/node-ws/package.json

52 lines
1.2 KiB
JSON
Raw Normal View History

{
"name": "@hono/node-ws",
2025-02-23 14:35:06 +08:00
"version": "1.1.0",
"description": "WebSocket helper for Node.js",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "tsc --noEmit && vitest --run",
"build": "tsup ./src/index.ts --format esm,cjs --dts",
"publint": "publint",
"release": "yarn build && yarn test && yarn publint && yarn publish"
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/honojs/middleware.git"
},
"homepage": "https://github.com/honojs/middleware",
"devDependencies": {
"@hono/node-server": "^1.11.1",
"@types/ws": "^8",
"hono": "^4.6.0",
"tsup": "^8.0.1",
"vitest": "^3.0.8"
},
"dependencies": {
"ws": "^8.17.0"
},
"peerDependencies": {
"@hono/node-server": "^1.11.1",
"hono": "^4.6.0"
},
"engines": {
"node": ">=18.14.1"
}
}