electrojet-scripts
Version:
Build scripts for use with create-electrojet
34 lines (18 loc) • 812 B
Markdown
# Electrojet Scripts CLI
[](https://badge.fury.io/js/electrojet-scripts)
A CLI for running electron applications generated by [`create-electrojet`](https://www.npmjs.com/package/create-electrojet)
## Commands
### 1. Start
Starts a development server using webpack.
```
electrojet-scripts start --port=4567
```
Port is defaulted to 4567.
Starts up electron process for serving your application.
### 2. Build
Builds the application to all platforms.
```
electrojet-scripts build
```
This builds the current directory for with `all` option for packages.
If you want to build for a specific package, edit the configuration at `electrojet.config.js`. Check out [Electrojet CLI](https://www.npmjs.com/package/create-electrojet) for usage.