You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@lit-labs/cli

Package Overview
Dependencies
9
Maintainers
11
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-labs/cli

Tooling for Lit development


Version published
Maintainers
11
Created

Readme

Source

@lit-labs/cli

The lit command line tool for Lit.

The Lit CLI is a common place for utilities maintained by the Lit team.

IMPORTANT: ⚠️ @lit-labs/cli is currently available only as a pre-release for early testing. Feel free to try it out, but expect occasional bugs, missing features, and frequent breaking changes! ⚠️

Installation

Install globally, so you can run the lit command anywhere on your system:

npm i -g @lit-labs/cli

Or install into a project, so that the correct version is installed with other dependencies:

cd my-project
npm i -D @lit-labs/cli

Commands

  • help
  • localize
  • labs gen

help

Displays a help message with available commands.

Usage
$ lit help

localize

Extract localization messages or build a localized application.

Usage
$ lit localize extract
$ lit localize build

labs gen

Generate framework wrappers.

Usage
$ lit labs gen --framework=react
Flags
FlagDescription
--frameworkFramework(s) to generate wrappers for. Supported frameworks: react, vue. Can be specified multiple times.
--packageFolder(s) containing a package to generate wrappers for. Default: ./. Can be specified multiple times.
--outFolder to output generated packages to. Default: ./gen/

Keywords

FAQs

Package last updated on 15 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc