{"_id":"n-component-cli","name":"n-component-cli","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"n-component-cli","version":"0.0.1","description":"Add components to your apps.","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"shadcn","url":"https://twitter.com/shadcn"},"repository":{"type":"git","url":"git+https://github.com/shadcn/ui.git","directory":"packages/cli"},"keywords":["components","ui","tailwind","radix-ui","shadcn"],"type":"module","exports":"./dist/index.js","bin":{"n-component-cli":"dist/index.js"},"scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","clean":"rimraf dist && rimraf components","start:dev":"cross-env COMPONENTS_REGISTRY_URL=http://localhost:8080 node dist/index.js","start":"node dist/index.js","format:write":"prettier --write \"**/*.{ts,tsx,mdx}\" --cache","format:check":"prettier --check \"**/*.{ts,tsx,mdx}\" --cache","release":"changeset version","pub:beta":"pnpm build && pnpm publish --no-git-checks --access public --tag beta","pub:next":"pnpm build && pnpm publish --no-git-checks --access public --tag next","pub:release":"pnpm build && pnpm publish --access public","test":"vitest run"},"dependencies":{"@antfu/ni":"^0.21.4","@babel/core":"^7.22.1","@babel/parser":"^7.22.6","@babel/plugin-transform-typescript":"^7.22.5","@radix-ui/react-accordion":"^1.2.0","@radix-ui/react-dialog":"^1.1.1","chalk":"5.2.0","commander":"^10.0.0","cosmiconfig":"^8.1.3","diff":"^5.1.0","execa":"^7.0.0","fast-glob":"^3.3.2","fs-extra":"^11.1.0","https-proxy-agent":"^6.2.0","lodash.template":"^4.5.0","node-fetch":"^3.3.0","ora":"^6.1.2","prompts":"^2.4.2","recast":"^0.23.2","ts-morph":"^18.0.0","tsconfig-paths":"^4.2.0","zod":"^3.20.2"},"devDependencies":{"@types/babel__core":"^7.20.1","@types/diff":"^5.0.3","@types/fs-extra":"^11.0.1","@types/lodash.template":"^4.5.1","@types/prompts":"^2.4.2","rimraf":"^4.1.3","tsup":"^6.6.3","type-fest":"^3.8.0","typescript":"^4.9.3"},"_id":"n-component-cli@0.0.1","gitHead":"1d27f3c0a7b433c52382e8e0c7737e09467e512d","bugs":{"url":"https://github.com/shadcn/ui/issues"},"homepage":"https://github.com/shadcn/ui#readme","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-ekomTzAvytxIf+pZUv8cnq/iF9ELzm5mxXF8cPLAXww4+k62qKENBLUWrgst3b1PxcnX0vIqGfLSs6qz67p7Sg==","shasum":"3e0e41ca3bd8db726d5687ce1046376c49605a02","tarball":"https://registry.npmjs.org/n-component-cli/-/n-component-cli-0.0.1.tgz","fileCount":5,"unpackedSize":132383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN01i4Z9OKeN8ywxo6UkEJyrBymI/Sc/dN0jtKiZoSrgIhAMm4ZI4vUNyuJ2UCUA2klgSM+79UjgmIVSYQ/ovEoYSf"}]},"_npmUser":{"name":"lsson","email":"lsson@ntels.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/n-component-cli_0.0.1_1719668893896_0.3565993318800835"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-29T13:48:13.795Z","0.0.1":"2024-06-29T13:48:14.158Z","modified":"2024-06-29T13:48:14.407Z"},"maintainers":[{"name":"lsson","email":"lsson@ntels.com"}],"description":"Add components to your apps.","homepage":"https://github.com/shadcn/ui#readme","keywords":["components","ui","tailwind","radix-ui","shadcn"],"repository":{"type":"git","url":"git+https://github.com/shadcn/ui.git","directory":"packages/cli"},"author":{"name":"shadcn","url":"https://twitter.com/shadcn"},"bugs":{"url":"https://github.com/shadcn/ui/issues"},"license":"MIT","readme":"# shadcn-ui\n\nA CLI for adding components to your project.\n\n## Usage\n\nUse the `init` command to initialize dependencies for a new project.\n\nThe `init` command installs dependencies, adds the `cn` util, configures `tailwind.config.js`, and CSS variables for the project.\n\n```bash\nnpx shadcn-ui init\n```\n\n## add\n\nUse the `add` command to add components to your project.\n\nThe `add` command adds a component to your project and installs all required dependencies.\n\n```bash\nnpx shadcn-ui add [component]\n```\n\n### Example\n\n```bash\nnpx shadcn-ui add alert-dialog\n```\n\nYou can also run the command without any arguments to view a list of all available components:\n\n```bash\nnpx shadcn-ui add\n```\n\n## Documentation\n\nVisit https://ui.shadcn.com/docs/cli to view the documentation.\n\n## License\n\nLicensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md).\n","readmeFilename":"README.md"}