8.0.0 • Published 3 years ago

@angular-guru/electron-builder v8.0.0

Weekly downloads
533
License
MIT
Repository
github
Last release
3 years ago

Electron Builder for Angular CLI v8+

Overview

This is a builder for the Angular CLI that allows you to target an Electron environment, giving you access to all functions available to Electron such as file system access, which currently is not supported in the Angular CLI.

For example, you can do imports such as:

import { readFile } from 'fs';

It is important to note, is not schematics or anything that will help scaffold an Electron application for you. This is simply an extension to the Angular CLI build step to allow your Angular app to have full access to Electron's features without any awkward workarounds like message passing.

How To Use

The setup process is now incredibly simple. First install the package:

npm install @angular-guru/electron-builder --save-dev

Next, we need to update angular.json to use the electron-builder in two places:

"build": {
    "builder": "@angular-guru/electron-builder:build",
    ...
}
"serve": {
    "builder": "@angular-guru/electron-builder:dev-server",
    ...
}
"test": {
    "builder": "@angular-guru/electron-builder:karma",
    ...
}

You can find a basic example project using the Electron builder can be found here.

8.0.0

3 years ago

7.2.20

3 years ago

7.2.14

3 years ago

7.2.13

3 years ago

7.2.12

3 years ago

6.1.7

4 years ago

6.1.6

4 years ago

6.1.5

4 years ago

6.1.4

4 years ago

6.1.3

4 years ago

6.1.2

4 years ago

6.1.1

4 years ago

6.1.0

4 years ago