2024-05-09 20:51:25 +08:00
|
|
|
{
|
|
|
|
"name": "@hono/node-ws",
|
2025-02-23 14:35:06 +08:00
|
|
|
"version": "1.1.0",
|
2024-05-09 20:51:25 +08:00
|
|
|
"description": "WebSocket helper for Node.js",
|
|
|
|
"main": "dist/index.js",
|
|
|
|
"module": "dist/index.mjs",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2025-02-02 20:25:54 +08:00
|
|
|
"test": "tsc --noEmit && vitest --run",
|
2024-05-09 20:51:25 +08:00
|
|
|
"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",
|
2025-01-21 17:39:56 +08:00
|
|
|
"hono": "^4.6.0",
|
2024-05-09 20:51:25 +08:00
|
|
|
"tsup": "^8.0.1",
|
|
|
|
"vitest": "^1.0.4"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"ws": "^8.17.0"
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2025-01-21 17:39:56 +08:00
|
|
|
"@hono/node-server": "^1.11.1",
|
|
|
|
"hono": "^4.6.0"
|
2024-05-09 20:51:25 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=18.14.1"
|
|
|
|
}
|
2025-02-06 20:38:36 +08:00
|
|
|
}
|