proto-socket/typescript/package.json
toki 8daf53003d 기능: 브라우저 WebSocket 진입점을 추가한다
브라우저 번들에서 Node 전용 ws 의존성을 분리하고 Go 모듈 경로를 현재 저장소명과 맞추기 위해 진입점과 import 경로를 정리한다.
2026-05-20 07:30:53 +09:00

41 lines
823 B
JSON

{
"name": "proto-socket",
"version": "1.0.5",
"private": true,
"type": "module",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
},
"./node": {
"types": "./dist/src/node.d.ts",
"default": "./dist/src/node.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run",
"check": "tsc --noEmit"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.5"
},
"peerDependencies": {
"ws": "^8.18.1"
},
"peerDependenciesMeta": {
"ws": {
"optional": true
}
},
"devDependencies": {
"@bufbuild/protoc-gen-es": "^2.2.5",
"@types/node": "^22.15.21",
"@types/ws": "^8.18.1",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3",
"ws": "^8.18.1"
}
}