{"_id":"@a7mddra/react-dino-game","_rev":"2-b84efd21b9a5ee054e246433497ddeab","name":"@a7mddra/react-dino-game","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@a7mddra/react-dino-game","version":"1.1.0","keywords":["game","chrome","dinosaur"],"license":"MIT","_id":"@a7mddra/react-dino-game@1.1.0","maintainers":[{"name":"a7mddra","email":"a7mddra@gmail.com"}],"homepage":"https://github.com/0xbsec/react-chrome-dino","dist":{"shasum":"8ed1bc6cb688689a2af073b2297006de90f4f2e5","tarball":"https://registry.npmjs.org/@a7mddra/react-dino-game/-/react-dino-game-1.1.0.tgz","fileCount":11,"integrity":"sha512-eWreiMySdDLtxPQlwhKlifClK+u8KKdnrQmzsKgwB+015lN9/xu7Z+hVZqAt1x7jAYioLqdp2x4Iw1cfD94N/w==","signatures":[{"sig":"MEYCIQCnDsWjCDK8hULZN5UjODDS0iAsdxJBYrxavPkFOgyGBQIhAM5ga8+yKzFLqRy5fJRAuYz+0aW3JuU40frt1nzqpQWM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193696},"main":"./dist/index.umd.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.umd.js"},"./dist/style.css":"./dist/style.css"},"gitHead":"09a1c91fd6d8e1f81a628b43ef403633f5c8bef2","scripts":{"dev":"vite","build":"tsc -p tsconfig.lib.json && vite build","start":"vite","preview":"vite preview"},"_npmUser":{"name":"a7mddra","email":"a7mddra@gmail.com"},"_npmVersion":"11.13.0","description":"A React component for the classic Google Chrome Dinosaur Game (T-Rex Runner).  Originally extracted from Chromium, this game has been packaged as a modern, easy-to-import React component with full TypeScript support.","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.0","react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.2.0","@types/react":"^18.2.0","@types/react-dom":"^18.2.0","@vitejs/plugin-react":"^4.2.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-dino-game_1.1.0_1788645810263_0.46956789052649195","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@a7mddra/react-dino-game","version":"1.1.1","main":"./dist/index.umd.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.umd.js","types":"./dist/index.d.ts"},"./dist/style.css":"./dist/style.css"},"scripts":{"start":"vite","dev":"vite","build":"tsc -p tsconfig.lib.json && vite build","preview":"vite preview"},"license":"MIT","publishConfig":{"access":"public"},"homepage":"https://github.com/0xbsec/react-chrome-dino","peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@types/react":"^18.2.0","@types/react-dom":"^18.2.0","@vitejs/plugin-react":"^4.2.0","react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.2.0","vite":"^5.0.0"},"keywords":["game","chrome","dinosaur"],"gitHead":"09d46b5b22afda6b8a23c492617274f9b8964890","_id":"@a7mddra/react-dino-game@1.1.1","description":"A React component for the classic Google Chrome Dinosaur Game (T-Rex Runner).  Originally extracted from Chromium, this game has been packaged as a modern, easy-to-import React component with full TypeScript support.","_nodeVersion":"24.17.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-lgqIvk079taK1wuzMeSpE3GZ6q71rw9aWAag0GR6mipNJWHOL8aTojgVtZ0irgFlpyBbKZURHMzDQ+BMHzRTow==","shasum":"e0424e845ad679a0f44b417b8ca26dc1300d0b8b","tarball":"https://registry.npmjs.org/@a7mddra/react-dino-game/-/react-dino-game-1.1.1.tgz","fileCount":11,"unpackedSize":159322,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGQGd1WpPKYDlLOec5RhWqer2UGCOIaPBXmEHB+KaWqwAiArF7cIjdDuBK50ZDYpFVErzYbRGIMkKCAoj67ZXXyyhA=="}]},"_npmUser":{"name":"a7mddra","email":"a7mddra@gmail.com"},"directories":{},"maintainers":[{"name":"a7mddra","email":"a7mddra@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-dino-game_1.1.1_1788647873140_0.19599169900043467"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-05T22:03:30.098Z","modified":"2026-09-05T22:37:53.419Z","1.1.0":"2026-09-05T22:03:30.441Z","1.1.1":"2026-09-05T22:37:53.281Z"},"license":"MIT","homepage":"https://github.com/0xbsec/react-chrome-dino","keywords":["game","chrome","dinosaur"],"description":"A React component for the classic Google Chrome Dinosaur Game (T-Rex Runner).  Originally extracted from Chromium, this game has been packaged as a modern, easy-to-import React component with full TypeScript support.","maintainers":[{"name":"a7mddra","email":"a7mddra@gmail.com"}],"readme":"# react-dino-game\n\nA React component for the classic Google Chrome Dinosaur Game (T-Rex Runner). \nOriginally extracted from Chromium, this game has been packaged as a modern, easy-to-import React component with full TypeScript support.\n\n![](screenshots/screenshot.png)\n\n## Installation\n\nInstall via npm:\n\n```bash\nnpm install @a7mddra/react-dino-game\n```\n\n## Usage\n\nSimply import the component and the accompanying styles, and render it anywhere in your application. \n\n```jsx\nimport React from 'react';\nimport ChromeDinoGame from '@a7mddra/react-dino-game';\nimport '@a7mddra/react-dino-game/dist/style.css';\n\nexport default function App() {\n  return (\n    <div style={{ padding: '2rem' }}>\n      <h1>My App</h1>\n      \n      {/* Render the game component */}\n      <ChromeDinoGame />\n    </div>\n  );\n}\n```\n\n> **Note:** The game is styled to fit within its container. For the best experience, wrap it in a container with a defined width.\n\n## Local Development\n\nIf you'd like to run this repository locally to test or contribute:\n\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Start the Vite dev server (this will run the `src/demo` app):\n   ```bash\n   npm run dev\n   ```\n4. To build the library for production:\n   ```bash\n   npm run build\n   ```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}