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

@wixc3/engine-electron-commons

Package Overview
Dependencies
Maintainers
175
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/engine-electron-commons

This is a cli tool, as well as a library which allows running [engine](https://github.com/wixplosives/engine) applications in electron.

  • 10.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
175
Weekly downloads
 
Created
Source

@wixc3/engine-electron

This is a cli tool, as well as a library which allows running engine applications in electron.

To run first install this package as a dependency npm i @wixc3/engine-electron

Then, to run your application in electron just run npx engine-electron start -f <my feature> -e <electron host environment>

If you want to build your application as an electron application just run npx engine-electron build -f <my feature> -e <electron host environment> This will create a "build" folder, in which the packed electron application will be located at

Start

ArgumentAliasDescriptionIs mandatoryDefault value
--featureName-fThe feature you want to runYes
--configName-cthe name of the config you want your application to run withNo
--envName-eThe name of the environment running in the electron-main processYes
--basePathThe path which is where to search the feature atNoprocess.cwd()
--devtoolswhether should open the browser window with devtoolsNofalse

Build

ArgumentAliasDescriptionIs mandatoryDefault value
--featureName-fThe feature you want to runYes
--configName-cthe name of the config you want your application to run withNo
--envName-eThe name of the environment running in the electron-main processYes
--basePathThe path which is where to search the feature atNoprocess.cwd()
--tsConfigPathRelative path to the tsconfig file with which the features should be built withNotsconfig.json
--outDirthe directory to which the bundled and transpiled code will be saved (relative to basePath)Nodist
--electronBuilderConfigFileNameThe name of the electrion builder config file (relative to basePath)Noelectron-build.json

FAQs

Package last updated on 25 Nov 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