Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@communities-webruntime/cli

Package Overview
Dependencies
Maintainers
2
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@communities-webruntime/cli

CLI for Lightning Web Runtime

  • 0.60.4
  • npm
  • Socket score

Version published
Weekly downloads
22
decreased by-92.86%
Maintainers
2
Weekly downloads
 
Created
Source

Usage

$ npm install -g @communities-webruntime/cli
$ webruntime COMMAND
running command...
$ webruntime (-v|--version|version)
@communities-webruntime/cli/0.45.3 ${process.platform} ${process.version}
$ webruntime --help [COMMAND]
USAGE
  $ webruntime COMMAND
...

Commands

  • webruntime run [TEMPLATEDIR]
  • webruntime validate [TEMPLATEDIR]

webruntime run [TEMPLATEDIR]

Start the server

USAGE
  $ webruntime run [TEMPLATEDIR]

ARGUMENTS
  TEMPLATEDIR  [default: .] The template root directory

OPTIONS
  --apiEndpoint=apiEndpoint              The external API endpoint to proxy API calls to. If not specified, replay mode
                                         will be used

  --apiEndpointHeader=apiEndpointHeader  An HTTP header to add to the requests proxied to the API endpoint

  --basePath=basePath                    The base path from which the web application will be served, defaults to '/'

  --indexHtml=indexHtml                  The index.html file path

  --isDesignMode                         Compile the template for usage in design mode

  --labels=labels                        The labels.json file path

  --locale=locale                        The locale to use

  --[no-]locker                          Enables Locker (default: true)

  --modes=modes                          A comma separated list of modes in which the resources will be generated,
                                         defaults to all modes (dev, prod)

  --partials=partials                    Directory where handlebar partials are stored to be used in templates

  --port=port                            [default: 3000] The server port

  --recordApiCalls                       Whether proxied API calls responses should be recorded

  --routes=routes                        The routes.json file path

  --srcDir=srcDir                        Source directory, used to compute the template version key

  --theme=theme                          The theme.json file path

  --views=views                          Where to get the view metadata from

webruntime validate [TEMPLATEDIR]

Validate the template metadata

USAGE
  $ webruntime validate [TEMPLATEDIR]

ARGUMENTS
  TEMPLATEDIR  [default: .] The template root directory

OPTIONS
  --labels=labels  The labels.json file path
  --routes=routes  The routes.json file path
  --theme=theme    The theme.json file path
  --views=views    Where to get the view metadata from

FAQs

Package last updated on 16 Jul 2021

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc