Skip to content

Commit 500353f

Browse files
author
Dave Conway-Jones
committed
tidy up package.json and template
1 parent 218a9da commit 500353f

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ build parameters, product name, whether you want the app version to be editable,
2828

2929
The app name, version and description are picked up from the package.json file of the original project.
3030

31-
When running using yarn start - the flow file is picked from the current directory. When running as an app (but only if editable), then the flow file is copied into the users `.node-red` directory and is read and written from there. The deafult name can be changed in the package.json file if required.
31+
When running using yarn start - the flow file is picked from the current directory. When running as an app (but only if editable), then the flow file is copied into the users `.node-red` directory and is read and written from there. The default name can be changed in the package.json file if required.
3232

33-
**NOTE**: Currently the settings are set around line 109 of the `main.js` file. If you do use any
33+
**NOTE**: Currently the settings are set around line 110 of the `main.js` file. If you do use any
3434
custom settings then currently you will need to modify this manually.
3535

3636
## Configuring the project for building
@@ -72,7 +72,7 @@ Runtimes are created in the `dist` directory under the `electron-node-red` proje
7272
Generally you can just add the required parameter to the command
7373

7474
```bash
75-
yarn && yarn dist -w // for windows (see below for building on Mac Catalina)
75+
yarn && yarn dist -w // for windows (but use multi-platform builder below for building on Mac Catalina)
7676
yarn && yarn dist -l // for linux
7777
yarn && yarn dist -m // for mac
7878
```

package-template.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron_node_red",
3-
"version": "1.0.3",
3+
"version": "1.0.6",
44
"description": "Electron Node-RED application starter kit for development",
55
"main": "main.js",
66
"NRelectron": {
@@ -26,9 +26,9 @@
2626
"url": "git+https://github.com/dceejay/electron-node-red.git"
2727
},
2828
"dependencies": {
29-
"electron-is-dev": "*",
29+
"electron-is-dev": "^1.2.0",
3030
"express": "^4.17.1",
31-
"node-red": "1.0.3"
31+
"node-red": "1.0.6"
3232
},
3333
"keywords": [
3434
"electron",
@@ -45,13 +45,13 @@
4545
},
4646
"homepage": "https://github.com/dceejay/electron-node-red#readme",
4747
"devDependencies": {
48-
"electron": "^7.1.1",
49-
"electron-builder": "^22.1.0"
48+
"electron": "^7.2.1",
49+
"electron-builder": "^22.5.1"
5050
},
5151
"build": {
5252
"appId": "com.electron.node-red",
5353
"productName": "Node-RED Electron",
54-
"copyright": "Copyright © 2019 D.Conway-Jones",
54+
"copyright": "Copyright © 2018,2020 D.Conway-Jones",
5555
"mac": {
5656
"category": "public.app-category.developer-tools",
5757
"target": "dmg"

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"allowLoadSave": false,
1010
"showMap": false,
1111
"kioskMode": false,
12+
"addNodes": true,
1213
"flowFile": "electronflow.json",
1314
"start": "dashboard"
1415
},
@@ -25,7 +26,7 @@
2526
"url": "git+https://github.com/dceejay/electron-node-red.git"
2627
},
2728
"dependencies": {
28-
"electron-is-dev": "~1.2.0",
29+
"electron-is-dev": "^1.2.0",
2930
"express": "^4.17.1",
3031
"node-red": "1.0.6",
3132
"node-red-contrib-play-audio": "*",
@@ -57,7 +58,7 @@
5758
"build": {
5859
"appId": "com.electron.node-red",
5960
"productName": "Node-RED Electron",
60-
"copyright": "Copyright © 2019 D.Conway-Jones",
61+
"copyright": "Copyright © 2018,2020 D.Conway-Jones",
6162
"mac": {
6263
"category": "public.app-category.developer-tools",
6364
"target": "dmg"

0 commit comments

Comments
 (0)