{"_id":"motion-primitives","name":"motion-primitives","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"motion-primitives","version":"0.1.0","description":"CLI to add beautiful, animated components to your app","bin":{"motion-primitives":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsc -w","prepublishOnly":"npm run build"},"dependencies":{"commander":"^9.4.1","ora":"^5.4.1","node-fetch":"^2.6.7"},"devDependencies":{"typescript":"^4.9.5","@types/node":"^18.0.0","@types/node-fetch":"^2.6.2"},"repository":{"type":"git","url":"git+https://github.com/ibelick/motion-primitives.git","directory":"cli"},"keywords":["animation","components","motion","ui","react","cli"],"author":{"name":"ibelick"},"license":"MIT","_id":"motion-primitives@0.1.0","gitHead":"d1e02e38def32391beeb84c4318e98c4e159deda","bugs":{"url":"https://github.com/ibelick/motion-primitives/issues"},"homepage":"https://github.com/ibelick/motion-primitives#readme","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-pDp6HfAfvdZCRkbBf+ESjkiWs6maBb25R/Y+yLKUU3tv/VISNR4XxLpN7+H/VtRYDzdU3LmbLbViOoF6ykqk8w==","shasum":"406a8b3775aa962a806fe4999630d60887bf3539","tarball":"https://registry.npmjs.org/motion-primitives/-/motion-primitives-0.1.0.tgz","fileCount":5,"unpackedSize":20005,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC8U7y4xBywLF0u82Vju00n048UczVLNidWUADTsVpcLgIgMa6PKhQFRtLyNSAYKKGBGSw/7BKPmzVpy+Tg2yxWcco="}]},"_npmUser":{"name":"ibelick","email":"pro@motion-primitives.com"},"directories":{},"maintainers":[{"name":"ibelick","email":"pro@motion-primitives.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/motion-primitives_0.1.0_1741082287235_0.2269344389934702"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-04T09:58:07.234Z","0.1.0":"2025-03-04T09:58:07.413Z","modified":"2025-03-04T09:58:07.618Z"},"maintainers":[{"name":"ibelick","email":"pro@motion-primitives.com"}],"description":"CLI to add beautiful, animated components to your app","homepage":"https://github.com/ibelick/motion-primitives#readme","keywords":["animation","components","motion","ui","react","cli"],"repository":{"type":"git","url":"git+https://github.com/ibelick/motion-primitives.git","directory":"cli"},"author":{"name":"ibelick"},"bugs":{"url":"https://github.com/ibelick/motion-primitives/issues"},"license":"MIT","readme":"# Motion Primitives CLI\n\nA command-line interface for easily adding beautiful, animated components to your React project.\n\n## Installation\n\nYou can use the CLI directly with npx:\n\n```bash\nnpx motion-primitives <command>\n```\n\nOr install it globally:\n\n```bash\nnpm install -g motion-primitives\nmotion-primitives <command>\n```\n\n## Usage\n\n### List available components\n\nTo see all available animated components:\n\n```bash\nnpx motion-primitives list\n```\n\nThis will display a list of all available components along with descriptions and required dependencies.\n\n### Add a component\n\nTo add a specific component to your project:\n\n```bash\nnpx motion-primitives add <component-name>\n```\n\nFor example:\n\n```bash\nnpx motion-primitives add text-morph\n```\n\nThis will:\n\n1. Create a `components/motion-primitives` directory in your project (if it doesn't exist)\n2. Download and add the component files\n3. Automatically install any required dependencies using your preferred package manager (npm, yarn, or pnpm)\n\nThe CLI automatically detects which package manager you're using based on lock files in your project.\n\n## Available Components\n\nMotion Primitives offers a variety of beautiful and performant animated components, including:\n\n- **Animated UI Elements**: Accordion, Dialog, Text Effects, Carousels\n- **Interactive Animations**: Magnetic elements, Spotlights, Tilt effects\n- **Text Animations**: Text morphing, Text loops, Text scramble effects, Spinning text\n- **And many more!**\n\nFor the complete list, run `npx motion-primitives list`.\n\n## Dependencies\n\nMost components require the `motion` library. When you add a component, the CLI will automatically install the required dependencies using your preferred package manager.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}