Export to JSR

This commit is contained in:
Gavri (Gabriel) Guy 2025-04-10 17:08:02 +03:00
parent 3b62d35845
commit a2fa638625
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,11 @@
{ {
"name": "@gavriguy/datastar-sdk",
"exports": "./src/index.ts",
"version": "0.0.3",
"license": "MIT",
"imports": { "imports": {
"@deno/dnt": "jsr:@deno/dnt@^0.41.3" "@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"npm:deepmerge-ts": "npm:deepmerge-ts@^7.1.4",
"npm:type-fest": "npm:type-fest@^4.32.0"
} }
} }

View File

@ -0,0 +1,3 @@
import { ServerSentEventGenerator as NodeServerSentEventGenerator } from "./node/serverSentEventGenerator.ts";
import { ServerSentEventGenerator as WebServerSentEventGenerator } from "./web/serverSentEventGenerator.ts";
export { NodeServerSentEventGenerator, WebServerSentEventGenerator };