electron-reactive-event-cli 1.0.118 → 1.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReadMe.md +36 -2
- package/package.json +1 -1
package/ReadMe.md
CHANGED
|
@@ -2,8 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
# `electron-reactive-event-cli`
|
|
4
4
|
|
|
5
|
-
This
|
|
6
|
-
It
|
|
5
|
+
**Purpose.** This CLI provides the build step for [`electron-reactive-event`](https://www.npmjs.com/package/electron-reactive-event).
|
|
6
|
+
It also supports CI/CD pipelines with a "silent" mode.
|
|
7
|
+
|
|
8
|
+
> [!TIP]
|
|
9
|
+
> VS Code users can use [the Electron Reactive Event extension](https://github.com/GageSorrell/ElectronReactiveEventCodeExtension), which runs the CLI for you automatically when needed.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
Ensure that `electron-reactive-event` is installed,
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install electron-reactive-event
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
From here, there are two options,
|
|
20
|
+
|
|
21
|
+
1. *(Recommended)* Run the `init` command, which adds the CLI globally *and* launches the `setup` wizard for you,
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx init electron-reactive-event
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
2. Add the CLI as a `devDependency` (or globally), then run the `setup` command,
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install --save-dev electron-reactive-event-cli
|
|
31
|
+
npm exec -- electron-reactive-event-cli setup
|
|
32
|
+
|
|
33
|
+
# Or, globally,
|
|
34
|
+
npm install -g electron-reactive-event-cli
|
|
35
|
+
electron-reactive-event-cli setup
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Documentation
|
|
39
|
+
|
|
40
|
+
The [documentation is available here](https://electron-reactive-event.sorrell.sh/1.0.0/cli/introduction), within [the documentation for `electron-reactive-event`](https://electron-reactive-event.sorrell.sh/1.0.0/articles/introduction).
|
|
7
41
|
|
|
8
42
|
Also see the [Electron Reactive Event extension](https://github.com/GageSorrell/ElectronReactiveEventCodeExtension) for VS Code, which runs the CLI for you upon saving files.
|
|
9
43
|
|