@commerce-kick/create
v1.0.1
Published
CLI tool to create projects from your commerce-kick templates
Maintainers
Readme
Create Commerce Kit
A CLI tool to quickly scaffold projects from curated commerce-kick templates.
Usage
# Using npx (recommended)
npx @commerce-kick/create my-project
# Or install globally
npm install -g @commerce-kick/create
@commerce-kick/create my-projectFeatures
- 🚀 Multiple template options
- 📦 Automatic dependency installation
- 🔧 Git repository initialization
- 💻 Interactive CLI prompts with
@clack/prompts - 🎨 Beautiful and modern terminal output
Available Templates
- Start Kit [web]: Tanstack Start, Vite, and Tailwind CSS
- Commerce Kit [mobile]: Built with love and Expo
Command Line Options
@commerce-kick/create [project-name] [options]
Options:
-t, --template <template> Template to use (start-kit, native-kit)
-p, --package-manager <manager> Package manager to use (npm, yarn, pnpm, bun)
--no-install Skip dependency installation
--no-git Skip git initialization
-h, --help Display help for command
-V, --version Display version numberExamples
# Interactive mode
npx @commerce-kick/create
# Specify project name
npx @commerce-kick/create my-awesome-project
# Use specific template
npx @commerce-kick/create my-project --template start-kit
# Specify package manager
npx @commerce-kick/create my-project --package-manager pnpm
# Skip dependency installation
npx @commerce-kick/create my-project --no-install
# Skip git initialization
npx @commerce-kick/create my-project --no-gitDevelopment
# Clone the repository
git clone [email protected]:commerce-kick/create.git
cd create
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run buildPublishing
# Build the project
npm run build
# Publish to npm
npm publishLicense
MIT
