Skip to content

litpack/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Litpack Project Generator

Welcome to the Litpack Project Generator! This CLI tool allows you to quickly scaffold new Lit.js projects using your preferred package manager.

Installation

You can easily create a new Litpack project using either of the following commands:

Using npm

npm create litpack@latest <project-name>

Using npx

npx create-litpack@latest <project-name>

Replace <project-name> with the desired name for your project.

Usage

  1. Run the Command:

    To create a new project, simply execute the command with your project name. If you don't specify a project name, you'll be prompted to enter one.

  2. Select a Package Manager:

    During the setup process, you will be prompted to choose your preferred package manager from the following options:

    • npm
    • yarn
    • pnpm
    • bun
  3. Project Initialization:

    The tool will create a new directory for your project, clone the necessary repository, and update the package.json file with your project name.

Commands

Once your project is created, you can navigate into your project folder and run:

  • Clean the build directory:

    <package-manager> run clean
  • Build the project:

    <package-manager> run build
  • Start the development server:

    <package-manager> start

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published