1.0.0 • Published 5 months ago

@commerce-kick/create v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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-project

Features

  • 🚀 Multiple template options
  • 📦 Automatic dependency installation
  • 🔧 Git repository initialization
  • 💻 Interactive CLI prompts
  • 🎨 Beautiful terminal output

Available Templates

  • React + TypeScript: React with TypeScript, Vite, and Tailwind CSS
  • Next.js + TypeScript: Next.js with TypeScript, Tailwind CSS, and ESLint
  • Node.js + TypeScript: Node.js with TypeScript, Express, and testing setup

Command Line Options

@commerce-kick/create [project-name] [options]

Options:
  -t, --template <template>  Template to use
  --no-install              Skip dependency installation
  --no-git                  Skip git initialization
  -h, --help                Display help for command
  -V, --version             Display version number

Examples

# 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 react-ts

# Skip dependency installation
npx @commerce-kick/create my-project --no-install

# Skip git initialization
npx @commerce-kick/create my-project --no-git

Development

# Clone the repository
git clone git@github.com:commerce-kick/create.git
cd create

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

Publishing

# Build the project
npm run build

# Publish to npm
npm publish

License

MIT