|
49 | 49 | "types": "./dist/adapters/node.d.ts",
|
50 | 50 | "import": "./dist/adapters/node.mjs",
|
51 | 51 | "require": "./dist/adapters/node.cjs"
|
| 52 | + }, |
| 53 | + "./adapters/uws": { |
| 54 | + "types": "./dist/adapters/uws.d.ts", |
| 55 | + "import": "./dist/adapters/uws.mjs", |
| 56 | + "require": "./dist/adapters/uws.cjs" |
52 | 57 | }
|
53 | 58 | },
|
54 | 59 | "main": "./dist/index.cjs",
|
|
61 | 66 | ],
|
62 | 67 | "scripts": {
|
63 | 68 | "build": "unbuild",
|
64 |
| - "play:ws": "jiti playground/node-ws.ts", |
65 |
| - "play:uws": "jiti playground/node-uws.ts", |
66 |
| - "play:bun": "bun playground/bun.ts", |
67 |
| - "play:deno": "deno run -A playground/deno.ts", |
68 |
| - "play:cf": "wrangler dev --port 3001", |
69 | 69 | "lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src",
|
70 | 70 | "lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src -w",
|
71 | 71 | "prepack": "pnpm run build",
|
| 72 | + "play:bun": "bun playground/bun.ts", |
| 73 | + "play:cf": "wrangler dev --port 3001", |
| 74 | + "play:deno": "deno run -A playground/deno.ts", |
| 75 | + "play:node": "jiti playground/node.ts", |
| 76 | + "play:uws": "jiti playground/uws.ts", |
72 | 77 | "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
|
73 | 78 | "test": "pnpm lint && pnpm test:types",
|
74 | 79 | "test:types": "tsc --noEmit --skipLibCheck"
|
75 | 80 | },
|
| 81 | + "resolutions": { |
| 82 | + "crossws": "workspace:*" |
| 83 | + }, |
76 | 84 | "devDependencies": {
|
77 | 85 | "@cloudflare/workers-types": "^4.20240117.0",
|
78 | 86 | "@deno/types": "^0.0.1",
|
|
94 | 102 | "wrangler": "^3.25.0",
|
95 | 103 | "ws": "^8.16.0"
|
96 | 104 | },
|
97 |
| - "resolutions": { |
98 |
| - "crossws": "workspace:*" |
99 |
| - }, |
100 | 105 | "packageManager": "pnpm@8.15.0"
|
101 | 106 | }
|
0 commit comments