- LottiePlayer now auto-crops each asset to its content bbox (union getBBox across 6 frames -> square viewBox), so stock files with empty artboard padding fill the badge instead of floating tiny in the middle. - Wire sleeping-cat.json to every mood: she's always asleep in the corner yet still mumbles tips and cheers through the bubble. napping hardcoded true so she keeps the calm sway + drifting zzz even while "talking". - happy-dog.json parked in the folder as an awake-mascot alternate. - Enable resolveJsonModule for the JSON imports. Claude-Session: https://claude.ai/code/session_016Yr6jELuRc7hyzYLccQKZd
22 lines
540 B
JSON
22 lines
540 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src"]
|
|
}
|