Socket
Book a DemoInstallSign in
Socket

electric-cli

Package Overview
Dependencies
Maintainers
7
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electric-cli

CLI for creating and building electric sites.

latest
Source
npmnpm
Version
3.0.4
Version published
Maintainers
7
Created
Source

electric-cli

Command line tools for electric.

Note: this CLI is only intended for electric 2.0.0, it does not support 1.x projects.

Install

$ npm i -g electric-cli

Commands

You can see information for each supported command by typing $ electric in the command line.

build

$ electric build

Builds electric site and places file in dist directory.

init

$ electric init

Creates a new electric project.

run

$ electric run

Runs the build, watch, and server commands for quick development.

server

$ electric server

Starts up a local development server.

watch

$ electric run

Watches for changes and triggers build.

FAQs

Package last updated on 16 Mar 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.