A CLI tool to quickly scaffold new Node.js/TypeScript projects with pre-configured settings.
- 🚀 Interactive project scaffolding with prompts
- 📦 Multiple project templates (Node Library, React Components)
- ⚙️ Pre-configured TypeScript, ESLint, and VSCode settings
- 🎨 Consistent code formatting and linting rules
- 📝 Automatic generation of configuration files
Use npx to create a new project:
npx @july_cm/cliThe CLI will guide you through the following steps:
- Project folder name: Enter the name of your project folder
- Package name: Enter the npm package name (defaults to folder name)
- Template selection: Choose from available templates:
- Node Library: For creating Node.js libraries
- React Components: For creating React component libraries
After running the CLI, your project will include:
my-project/
├── .vscode/
│ └── settings.json # VSCode editor settings
├── src/ # Source code directory
├── .gitignore # Git ignore rules
├── eslint.config.js # ESLint configuration
├── package.json # Package manifest
└── tsconfig.json # TypeScript configuration
The generated tsconfig.json includes:
- Strict mode enabled
- ES module interoperability
- Skip library checks for faster builds
Uses @july_cm/eslint-config with recommended settings for consistent code quality.
Pre-configured editor settings:
- 2-space indentation
- Auto-format on save with ESLint
- ESLint validation for multiple file types
- Tailwind CSS support
After project generation, install dependencies:
cd <your-project-name>
pnpm installThis CLI is built with:
- TypeScript - Type-safe development
- tsx - TypeScript execution
- @inquirer/prompts - Interactive command-line prompts
- fs-extra - Enhanced file system operations
ISC
Note: Make sure to have Node.js 18+ installed on your system.