kopia lustrzana https://github.com/dceejay/electron-node-red
tidy up package.json and template
rodzic
218a9daf75
commit
500353f4ce
|
@ -28,9 +28,9 @@ build parameters, product name, whether you want the app version to be editable,
|
|||
|
||||
The app name, version and description are picked up from the package.json file of the original project.
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
**NOTE**: Currently the settings are set around line 109 of the `main.js` file. If you do use any
|
||||
**NOTE**: Currently the settings are set around line 110 of the `main.js` file. If you do use any
|
||||
custom settings then currently you will need to modify this manually.
|
||||
|
||||
## Configuring the project for building
|
||||
|
@ -72,7 +72,7 @@ Runtimes are created in the `dist` directory under the `electron-node-red` proje
|
|||
Generally you can just add the required parameter to the command
|
||||
|
||||
```bash
|
||||
yarn && yarn dist -w // for windows (see below for building on Mac Catalina)
|
||||
yarn && yarn dist -w // for windows (but use multi-platform builder below for building on Mac Catalina)
|
||||
yarn && yarn dist -l // for linux
|
||||
yarn && yarn dist -m // for mac
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "electron_node_red",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.6",
|
||||
"description": "Electron Node-RED application starter kit for development",
|
||||
"main": "main.js",
|
||||
"NRelectron": {
|
||||
|
@ -26,9 +26,9 @@
|
|||
"url": "git+https://github.com/dceejay/electron-node-red.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-is-dev": "*",
|
||||
"electron-is-dev": "^1.2.0",
|
||||
"express": "^4.17.1",
|
||||
"node-red": "1.0.3"
|
||||
"node-red": "1.0.6"
|
||||
},
|
||||
"keywords": [
|
||||
"electron",
|
||||
|
@ -45,13 +45,13 @@
|
|||
},
|
||||
"homepage": "https://github.com/dceejay/electron-node-red#readme",
|
||||
"devDependencies": {
|
||||
"electron": "^7.1.1",
|
||||
"electron-builder": "^22.1.0"
|
||||
"electron": "^7.2.1",
|
||||
"electron-builder": "^22.5.1"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.electron.node-red",
|
||||
"productName": "Node-RED Electron",
|
||||
"copyright": "Copyright © 2019 D.Conway-Jones",
|
||||
"copyright": "Copyright © 2018,2020 D.Conway-Jones",
|
||||
"mac": {
|
||||
"category": "public.app-category.developer-tools",
|
||||
"target": "dmg"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"allowLoadSave": false,
|
||||
"showMap": false,
|
||||
"kioskMode": false,
|
||||
"addNodes": true,
|
||||
"flowFile": "electronflow.json",
|
||||
"start": "dashboard"
|
||||
},
|
||||
|
@ -25,7 +26,7 @@
|
|||
"url": "git+https://github.com/dceejay/electron-node-red.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-is-dev": "~1.2.0",
|
||||
"electron-is-dev": "^1.2.0",
|
||||
"express": "^4.17.1",
|
||||
"node-red": "1.0.6",
|
||||
"node-red-contrib-play-audio": "*",
|
||||
|
@ -57,7 +58,7 @@
|
|||
"build": {
|
||||
"appId": "com.electron.node-red",
|
||||
"productName": "Node-RED Electron",
|
||||
"copyright": "Copyright © 2019 D.Conway-Jones",
|
||||
"copyright": "Copyright © 2018,2020 D.Conway-Jones",
|
||||
"mac": {
|
||||
"category": "public.app-category.developer-tools",
|
||||
"target": "dmg"
|
||||
|
|
Ładowanie…
Reference in New Issue