Files
webnet/packages/websocket/package.json
T
codingetandClaude c05f20c0bf chore: add test/test:coverage to turbo; remove unit/external test split
- turbo.json: add test and test:coverage pipeline tasks (dependsOn: ^build)
- root package.json: add test and test:coverage scripts via turbo
- Remove test:unit, test:coverage:unit, test:watch:unit from all packages
- Remove test-helpers/flags.ts from transport, http, websocket (and dirs)
- Remove fetch.node.test.ts (external test hitting google.com; always skipped)
- Drop { skip: skipIfNotIntegration } from all suites — tests run unconditionally

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 21:52:42 +00:00

51 lines
1.5 KiB
JSON

{
"name": "@webnet/websocket",
"version": "0.1.0",
"description": "WebSocket client and server over any transport",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./_internals": {
"types": "./dist/_internals.d.ts",
"default": "./dist/_internals.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"default": "./dist/server/index.js"
},
"./server/_internals": {
"types": "./dist/server/_internals.d.ts",
"default": "./dist/server/_internals.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./client/_internals": {
"types": "./dist/client/_internals.d.ts",
"default": "./dist/client/_internals.js"
}
},
"scripts": {
"build": "rm -rf dist && tsc --project tsconfig.json",
"test": "tsx --test --test-timeout=10000 'src/**/*.test.ts'",
"test:coverage": "c8 --src src --exclude 'src/**/*.test.ts' --reporter text --reporter lcov node --enable-source-maps --import tsx --test-timeout=10000 --test 'src/**/*.test.ts'",
"typecheck": "tsc --project tsconfig.json --noEmit"
},
"dependencies": {
"@webnet/http": "*",
"@webnet/transport": "*"
},
"devDependencies": {
"@types/node": "^25.6.0",
"c8": "^11.0.0",
"tsx": "^4.21.0",
"typescript": "^6.0.2"
}
}