Connect over polling first so the game still works when a proxy drops the websocket upgrade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
339 B
JSON
19 lines
339 B
JSON
{
|
|
"name": "@two-keys/shared",
|
|
"version": "1.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc --noEmit -p tsconfig.json",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"vitest": "^2.1.0"
|
|
}
|
|
}
|