Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matheo/nx-electron
Electron boilerplate setup within a Nx Monorepo
https://github.com/matheo/nx-electron
Last synced: 20 days ago
JSON representation
Electron boilerplate setup within a Nx Monorepo
- Host: GitHub
- URL: https://github.com/matheo/nx-electron
- Owner: matheo
- Created: 2019-09-25T16:47:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T05:00:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T15:16:35.763Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 806 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# @matheo/nx-electron
This project was generated using [Nx](https://nx.dev).
This is a showcase of Electron embedding an Angular App.
The npm scripts available helps with the whole workflow:## Developing
- `yarn start` serves an Electron instance with the Angular dev-server.
- `yarn serve` is available to serve the Angular application only.
## Building
- `yarn desktop:dist` bundles the whole app via `electron-builder`.
You can pass parameters like `--win` `--mac` `--linux` to target a different OS.
Electron-builder settings can be defined at `apps/desktop/electron/src/assets/package.json` too.
See https://www.electron.build/configuration/configuration- `yarn desktop:build:analyze` shows a report of the application size.
Enjoy!