@flbx/my-little-starter
v1.3.3
Published
A simple starter project for web development with TypeScript, HTML, and CSS / TailwindCSS.
Maintainers
Readme
@flbx/my-little-starter
Fast CLI tool to bootstrap modern web projects with Vite, TypeScript, Tailwind CSS, Vitest, and OxLint.
Features
- Vite - Lightning fast development server
- Rolldown-Vite - Rust-powered bundler, future default for Vite (3-16x faster builds, currently in beta)
- Tailwind CSS v4 - Modern utility-first CSS framework
- TypeScript - Optional TypeScript support
- Vitest - Optional testing framework
- OxLint - Optional super-fast linter (50-100x faster than ESLint)
- oxfmt - Optional high-performance auto-fix formatting using OxLint
- pnpm - Fast package manager
- Zero config - Start coding immediately
Installation
pnpm add -g @flbx/my-little-starterUsage
mls my-projectOptions
--ts, --typescript- Add TypeScript support--tailwind- Add Tailwind CSS v4--test- Add Vitest support--lint- Add OxLint with configuration--format- Add oxfmt (OxLint auto-fix formatting)--rolldown- Use Rolldown-Vite (Rust-powered bundler, future Vite default)-d, --directory <dir>- Target directory
Examples
# Basic project
mls my-project
# TypeScript + Tailwind + Tests
mls my-project --ts --tailwind --test
# Full stack with linting and formatting
mls my-project --ts --tailwind --test --lint --format
# With experimental Rolldown bundler
mls my-project --rolldown --ts --tailwind
# Custom directory
mls my-project --directory ./projectsGetting Started
cd my-project
pnpm devAvailable Scripts
When you generate a project with optional tools, the following scripts are available:
pnpm dev- Start development serverpnpm build- Build for productionpnpm preview- Preview production buildpnpm test- Run tests (with--testflag)pnpm lint- Run OxLint (with--lintflag)pnpm format- Format code with oxfmt (with--formatflag)
Requirements
- Node.js 16.0.0+
- pnpm
License
MIT © florianbx
