This module contains the core UIHarness development server:
- CLI (command line interface)
- JS bunder and HMR development server for web and electron.
- Electron distribution builder.
- Web server.
Installation
Include in the devDependencies
of your package.json, along with the corresponding client-tools as full dependencies
:
{
"dependencies": {
"@uiharness/electron": "x.x.x"
},
"devDependencies": {
"@uiharness/dev": "x.x.x"
}
}
Ensure the ui init
command runs after installation complete to fully configure your UIHarness.
You might do this by running it as a post-install step:
{
"scripts": {
"postinstall": "ui init"
}
}
🔗 Refs