@josercl/nbc
v1.0.7
Published
Initialize a new Nuxt Backoffice project
Readme
@josercl/nbc
CLI tool to scaffold a new Nuxt Backoffice project.
Usage
Interactive mode
npx @josercl/nbc
pnpm dlx @josercl/nbcYou will be prompted for:
- Folder — destination directory for the project
- Git — whether to initialize a new git repository
- Dependencies — whether to install dependencies
- Package manager —
npm,pnpm
Non-interactive mode
npx @josercl/nbc --folder my-project --git --deps
pnpm dlx @josercl/nbc --folder my-project --git --depsOptions
| Flag | Alias | Description |
|---|---|---|
| --folder <name> | -f | Destination folder |
| --git | | Initialize git repository |
| --deps | | Install dependencies |
| --help | | Show help |
What it does
- Clones the nuxt-backoffice template
- Copies
.env.exampleto.env - Installs dependencies (optional)
- Initializes a fresh git repository with a
pre-commitlint hook (optional)
Requirements
- Node.js >= 24
- Git
