vite-typescript-app
v1.0.1
Published
A CLI tool for quickly scaffolding TypeScript libraries with Vite
Maintainers
Readme
Create Vite TypeScript App
A CLI tool for quickly scaffolding TypeScript libraries with Vite.
Features
- 🚀 Rapid Project Setup - Create a fully configured TypeScript library in seconds
- 🧩 Interactive Prompts - Customize your project name, author, description, and more
- 📦 Package Manager Choice - Choose between npm, yarn, or pnpm
- 🔧 Pre-configured - Includes TypeScript, Vite, Vitest, and proper project structure
- 🧪 Testing Ready - Sample tests included and configured
- 🔄 Git Integration - Initializes a Git repository with all files staged
Installation
# Global installation
npm install -g vite-typescript-app
# Or using npx
npx vite-typescript-appUsage
# Create a new project
create-vite-typescript-app
# Then follow the interactive promptsWhat's Included
The generated project includes:
- TypeScript configuration
- Vite build setup with multiple formats (ES, UMD)
- Project structure with core, types, and utilities
- Sample code with TypeScript interfaces and functions
- Testing setup with Vitest
- README with usage instructions
- Git initialization
- Package installation
Development
To work on this CLI tool itself:
- Clone this repository
- Install dependencies:
npm install(oryarnorpnpm install) - Link the package:
npm link(or equivalent for your package manager) - Run the CLI:
create-vite-typescript-app
License
MIT
