- Remove runtime JavaScript from Sprite component entirely - Use CSS custom properties (--x, --y, --ex) with shared @keyframes - Add SpriteStyles component for global keyframe (include once in <head>) - Require sheetWidth/sheetHeight props (calculated by dev tool) - Remove grid/columns support (horizontal strips only) - Dev tool now auto-detects frames and calculates crop bounds - Dev server is now CLI-based with required assets directory arg - Add image picker with filter/search 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
427 B
JSON
24 lines
427 B
JSON
{
|
|
"name": "tiny-sprites",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/sprite.tsx"
|
|
},
|
|
"bin": {
|
|
"tiny-sprites": "src/dev/server.tsx"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun --hot src/dev/server.tsx ./assets",
|
|
"test": "tsc --noEmit && bun test"
|
|
},
|
|
"dependencies": {
|
|
"hono": "^4.11.3"
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "latest"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 100
|
|
}
|
|
} |