UNPKG

@nuggetwise/cli

Version:

Magic Nuggetwise CLI for Cursor IDE integration

87 lines (62 loc) • 1.75 kB
# @nuggetwise/cli Magic Nuggetwise CLI for Cursor IDE integration ## šŸš€ Getting Started ### Prerequisites - Node.js 18+ - npm or yarn ### Installation ```bash npm install ``` ### Development ```bash npm run dev ``` ### Build ```bash npm run build ``` ## šŸŽØ Components This project uses Magic Nuggetwise for AI-powered component generation. ### Generated Components ### Adding New Components Use the Magic Nuggetwise CLI to generate new components: ```bash nw "A modern login form with email and password fields" nw "A responsive navigation bar with mobile menu" nw "A data table with sorting and pagination" ``` ## šŸ› ļø Tech Stack - **Framework**: React - **Styling**: Tailwind CSS - **Language**: TypeScript - **Build Tool**: esbuild ## šŸ“ Project Structure ``` /Users/singhm/mcpnw/packages/cli/ ā”œā”€ā”€ src/ │ ā”œā”€ā”€ components/ # React components │ ā”œā”€ā”€ pages/ # Page components │ ā”œā”€ā”€ styles/ # CSS files │ └── utils/ # Utility functions ā”œā”€ā”€ public/ # Static assets └── package.json # Dependencies ``` ## šŸ¤– Magic Nuggetwise Integration This project is enhanced with Magic Nuggetwise, an AI-powered component generation tool for Cursor IDE. ### Features - šŸŽØ AI-powered component generation - šŸ“¦ 165+ pre-built components - šŸš€ One-click preview deployment - šŸ” Component search and discovery - šŸ’° Token-based usage tracking ### Commands - `nw "description"` - Generate component - `nw --readme` - Generate README - `nw --analyze` - Analyze project - `nw components` - List components - `nw preview` - Deploy preview ## šŸ“„ License MIT --- Built with ā¤ļø using [Magic Nuggetwise](https://nuggetwise.com)