The heart of Alpaca UI. It works by tapping into JS V8 engine via bindings to N-API provided by Neon. Essentially this is a DLL that manipulates object within NodeJS process of Alpaca called Engine process and that can be assembled into an NPM module. It creates a Devnet that directly passes results to JS engine.
To work with Alpaca project needs to be compiled within electron-build environment.
To install dependencies run:
yarn
To compile the project use:
yarn start build
For debug version run:
yarn start build.dev
For cross-compiling the project run:
yarn start build.<target-arch>
For now only arm64 and x64 options are supported.
yarn start pack
If you cross-compiled the project run:
yarn start pack.<target-arch>
After compilation and packing. Within test directory run:
yarn
yarn start prepare
yarn start test