Skip to content

Commit 2e29232

Browse files
authored
update README (electron builder two package structure)
1 parent 33f5f6d commit 2e29232

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ With this sample, you can:
3434

3535
## Getting Started
3636

37-
Clone this repository locally:
37+
*Clone this repository locally:*
3838

3939
``` bash
4040
git clone https://github.com/maximegris/angular-electron.git
4141
```
4242

43-
Install dependencies with npm (used by Electron renderer process):
43+
*Install dependencies with npm (used by Electron renderer process):*
4444

4545
``` bash
4646
npm install
@@ -55,13 +55,15 @@ Please follow [Angular-cli documentation](https://github.com/angular/angular-cli
5555
npm install -g @angular/cli
5656
```
5757

58-
Install NodeJS dependencies with npm (used by Electron main process):
58+
*Install NodeJS dependencies with npm (used by Electron main process):*
5959

6060
``` bash
6161
cp app/
6262
npm install
6363
```
6464

65+
Why two package.json ? This project follow [Electron Builder two package.json structure](https://www.electron.build/tutorials/two-package-structure) in order to optimize final bundle and be still able to use Angular `ng add` feature.
66+
6567
## To build for development
6668

6769
- **in a terminal window** -> npm start

0 commit comments

Comments
 (0)