Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@wixc3/engine-electron
Advanced tools
This is a cli tool, as well as a library which allows running [engine](https://github.com/wixplosives/engine) applications in 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
Argument | Alias | Description | Is mandatory | Default value |
---|---|---|---|---|
--featureName | -f | The feature you want to run | Yes | |
--configName | -c | the name of the config you want your application to run with | No | |
--envName | -e | The name of the environment running in the electron-main process | Yes | |
--basePath | The path which is where to search the feature at | No | process.cwd() | |
--devtools | whether should open the browser window with devtools | No | false |
Argument | Alias | Description | Is mandatory | Default value |
---|---|---|---|---|
--featureName | -f | The feature you want to run | Yes | |
--configName | -c | the name of the config you want your application to run with | No | |
--envName | -e | The name of the environment running in the electron-main process | Yes | |
--basePath | The path which is where to search the feature at | No | process.cwd() | |
--tsConfigPath | Relative path to the tsconfig file with which the features should be built with | No | tsconfig.json | |
--outDir | the directory to which the bundled and transpiled code will be saved (relative to basePath) | No | dist | |
--electronBuilderConfigFileName | The name of the electrion builder config file (relative to basePath) | No | electron-build.json |
FAQs
Unknown package
The npm package @wixc3/engine-electron receives a total of 43 weekly downloads. As such, @wixc3/engine-electron popularity was classified as not popular.
We found that @wixc3/engine-electron demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 69 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.