electric-cli
v3.0.4
Published
CLI for creating and building electric sites.
Downloads
66
Keywords
Readme
electric-cli
Command line tools for electric.
Note: this CLI is only intended for electric
2.0.0, it does not support1.xprojects.
Install
$ npm i -g electric-cliCommands
You can see information for each supported command by typing $ electric in the command line.
build
$ electric buildBuilds electric site and places file in dist directory.
init
$ electric initCreates a new electric project.
run
$ electric runRuns the build, watch, and server commands for quick development.
server
$ electric serverStarts up a local development server.
watch
$ electric runWatches for changes and triggers build.
