Socket
Socket
Sign inDemoInstall

create-lit-project

Package Overview
Dependencies
122
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-lit-project

## Usage


Version published
Maintainers
1
Created

Readme

Source

create-lit-project

Usage

npx create-lit-project [options]

Options

Symbol | Alias

  • -o, --output

Expects: output directory relative to cwd of calling directory

Default: .

  • -l, --language

Allowed: ts, js, typescript, javascript

Default: js

  • -s, --styles

Allowed: shadow, css, sass, tailwind

Default: shadow

  • -http, --server

Boolean, if you put it, it will set up an actual server rather than webpack dev server Default: false

Interactive Mode

Just add -i or --interactive to the script and it will prompt you for the options instead of entering them

Example

npx create-lit-project -o src

Makes a new project boiler plate at src. If you do not define one, it will be defaulted to '.' which will resolve to the current working directory running the command. Since only the output flag is specified, the other flags will be defaulted as defined above.

Keywords

FAQs

Last updated on 09 Jul 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc