diff --git a/bun.lock b/bun.lock new file mode 100644 index 0000000..81a07a5 --- /dev/null +++ b/bun.lock @@ -0,0 +1,24 @@ +{ + "lockfileVersion": 1, + "configVersion": 1, + "workspaces": { + "": { + "name": "tiny-sprites", + "dependencies": { + "hono": "^4", + }, + "devDependencies": { + "bun-types": "latest", + }, + }, + }, + "packages": { + "@types/node": ["@types/node@25.0.3", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA=="], + + "bun-types": ["bun-types@1.3.5", "", { "dependencies": { "@types/node": "*" } }, "sha512-inmAYe2PFLs0SUbFOWSVD24sg1jFlMPxOjOSSCYqUgn4Hsc3rDc7dFvfVYjFPNHtov6kgUeulV4SxbuIV/stPw=="], + + "hono": ["hono@4.11.3", "", {}, "sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w=="], + + "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..07c4e2c --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "tiny-sprites", + "type": "module", + "exports": { + ".": "./src/sprite.tsx" + }, + "bin": { + "tiny-sprites": "src/dev/server.tsx" + }, + "scripts": { + "dev": "bun --hot src/dev/server.tsx", + "test": "bun test" + }, + "dependencies": { + "hono": "^4" + }, + "devDependencies": { + "bun-types": "latest" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..58033c5 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "jsx": "react-jsx", + "jsxImportSource": "hono/jsx", + "strict": true, + "skipLibCheck": true, + "types": ["bun-types"] + }, + "include": ["src/**/*"] +}