61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "@hono/node-ws",
|
|
"version": "1.3.0",
|
|
"description": "WebSocket helper for Node.js",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"format": "prettier --check . --ignore-path ../../.gitignore",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc -b tsconfig.json",
|
|
"test": "vitest",
|
|
"version:jsr": "yarn version:set $npm_package_version"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org",
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/honojs/middleware.git",
|
|
"directory": "packages/node-ws"
|
|
},
|
|
"homepage": "https://github.com/honojs/middleware",
|
|
"devDependencies": {
|
|
"@hono/node-server": "^1.19.2",
|
|
"hono": "^4.11.3",
|
|
"tsdown": "^0.15.9",
|
|
"typescript": "^5.8.2",
|
|
"vitest": "^4.0.16"
|
|
},
|
|
"dependencies": {
|
|
"ws": "^8.17.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@hono/node-server": "^1.19.2",
|
|
"hono": "^4.6.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.14.1"
|
|
}
|
|
} |